Giter VIP home page Giter VIP logo

geometa-acf's People

Contributors

macbookandrew avatar markberube avatar nciske avatar stuporglue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geometa-acf's Issues

Map wrapping drawing can result in >180, <-180 longitude

TODO: Disable map wrapping so that coordinates are always inbounds.

Figured out what the deal is and it is an issue with how the ACF plugin stores a drawn object if you dont use the centered version of the map and only affects longitude. If you use the wrapped part of the map you will go outside the bounds of the sphere and it will be 360 degrees added to the actual longitude. I am not sure if this is an issue with the geometa library or the ACF map part of the plugin. Any comments would be appreciated.

See: https://wordpress.org/support/topic/geo-table-does-not-match-post-meta-table/

map height

I haven't thoroughly tested this in different browsers, but in chrome, the height of the map is only 300px, and coming from leaflet's css. The height in your geomaeta-acf.css isn't getting picked up, and the bottom 1.5 buttons are cut off. I added an !important to line 2 and it resolved the problem.

.acfgeometa_map {
	height: 400px !important;
	width: 100%;
}

Add composer support

It would be great if this plugin can be installed using composer.
This would also solve issues with dependencies (currently managed as git submodules),
notably the wp-geometa-lib dependency.

ACF Tabs and maps

Scenario:
ACF Field group. Vertical tabs. geometa-acf field in second or subsequent tab. When my field is in the first tab it's not a problem.

Problem:
Basemap is aligned at top left of page. Though it's glitchy. A slight resize of the browser window fixes the issue.
chrome_2018-03-06_10-19-19

Checked:

  • I have checked the DOM of the HTML output of the form, and it's fine, just reordered.
  • i am trying various events to cause this to fix itself but i'm stuck.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.