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

Negative decimal coordinates are off by one in the tooltip #4363

Closed
hayleynorton opened this issue Feb 12, 2019 · 0 comments
Closed

Negative decimal coordinates are off by one in the tooltip #4363

hayleynorton opened this issue Feb 12, 2019 · 0 comments
Assignees
Labels

Comments

@hayleynorton
Copy link
Contributor

Description

See screenshot. Stored latitudes and longitudes differ from what is displayed in the tooltip by one degree. Only affects negative values.

Steps to Reproduce

  1. Set coordinate format to decimal
  2. Place a breakpoint on line 114 of map-info.view.js
  3. Move your mouse onto the map, somewhere south of the equator in the western hemisphere
  4. Check the stored values of latitude and longitude in the console
  5. Resume script execution
  6. Check the displayed values of latitude and longitude in the tooltip

Expected behavior:

Negative decimal coordinates displayed in the tooltip should match the stored coordinates

Actual behavior:

Negative decimal coordinates displayed in the tooltip are off from the stored coordinates by one degree

Reproduces how often:

100%

Additional Information

lat-lon-off-by-one

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

No branches or pull requests

2 participants