Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stuporglue opened this issue Jun 18, 2018 · 0 comments
Open

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

stuporglue opened this issue Jun 18, 2018 · 0 comments

Comments

@stuporglue
Copy link
Collaborator

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant