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

Get latitude and longitude from DMS (degrees, minutes, secondes) string #26

Open
timdhoffmann opened this issue Nov 13, 2015 · 1 comment

Comments

@timdhoffmann
Copy link

I tried to use the plugin with a gmarker.formatting_string setting of [[+latitudeDms]] [[+longitudeDms]], two TVs containing latidude and longitude respectively in the DMS format "degree° minutes' seconds" N/S/W/E", but the plugin returns 0 for both, my gmarker.lat_tvand gmarker.lng_tv TVs.

It works when entering such a format directly on maps.google.com eg. 40° 17.6’ N 008° 52.2’ W returns: https://www.google.de/maps/place/40°17'36.0%22N+8°52'12.0%22W/@40.2101542,-8.9579693,10.76z/data=!4m2!3m1!1s0x0:0x0

MODX error log shows nothing suspicious. Can anybody help me with fixing that, please?

@fireproofsocks
Copy link
Member

If you can specify exactly how to reproduce the error, I can look at it next time I have a gig that requires the use of this extra.

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

2 participants