Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core] Map::latLngForPixel and Map::pixelForLatLng are using bottom/left coordinates #3574

Closed
tmpsantos opened this issue Jan 15, 2016 · 0 comments · Fixed by #3583
Closed
Assignees
Labels

Comments

@tmpsantos
Copy link
Contributor

The other Map:: methods are using top/left coordinates which is our convention.

/cc @1ec5

@tmpsantos tmpsantos added the bug label Jan 15, 2016
1ec5 added a commit that referenced this issue Jan 15, 2016
…(), Map::pixelForLatLng()

Map and Transform methods assume an origin at the top-left corner of the view, like iOS, Android, and GLFW but unlike OS X.

Fixes #3574.
@1ec5 1ec5 mentioned this issue Jan 15, 2016
8 tasks
@1ec5 1ec5 self-assigned this Jan 15, 2016
1ec5 added a commit that referenced this issue Jan 17, 2016
…(), Map::pixelForLatLng()

Map and Transform methods assume an origin at the top-left corner of the view, like iOS, Android, and GLFW but unlike OS X. Transform is responsible for flipping coordinates between the top-left origin of Map and the bottom-left origin of TransformState.

Fixes #3574.
1ec5 added a commit that referenced this issue Jan 19, 2016
…(), Map::pixelForLatLng()

Map and Transform methods assume an origin at the top-left corner of the view, like iOS, Android, and GLFW but unlike OS X. Transform is responsible for flipping coordinates between the top-left origin of Map and the bottom-left origin of TransformState.

Fixes #3574.
@1ec5 1ec5 removed the in progress label Jan 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants