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

Custom coordinate does not centre the map correctly #23

Closed
sslupsky opened this issue Jul 5, 2016 · 1 comment
Closed

Custom coordinate does not centre the map correctly #23

sslupsky opened this issue Jul 5, 2016 · 1 comment
Assignees
Labels

Comments

@sslupsky
Copy link

sslupsky commented Jul 5, 2016

When setting the "center" coordinate to "custom" and entering a GPS coordinate, the location on the map is off by a 100km or more.

Here are a couple examples:

Guamuchil, Mexico: 25.4583315 -108.074333036
Edmonton, Alberta: 53.54439 -113.49093

Interesting, the Guamuchil coordinate centres the maps about 100km west of the actual location whereas the Edmonton coordinate centres the map about 100km south of the actual location.

@y-mori0110
Copy link

Looking at the source , it seems to have been cut off after the decimal point because parseInt is used...

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

No branches or pull requests

3 participants