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

Is showTileBoundaries reporting correctly? #8923

Closed
tristen opened this issue Oct 29, 2019 · 1 comment
Closed

Is showTileBoundaries reporting correctly? #8923

tristen opened this issue Oct 29, 2019 · 1 comment

Comments

@tristen
Copy link
Member

tristen commented Oct 29, 2019

mapbox-gl-js version: v1.4.0

Question

I might be confused over how this works but It looks like both the reported tile coordinates and boundary lines are confusing.

If I browse around #17/35.678226/139.738022 I see a boundary reporting tile coordinates at 17/58205/25807:

Screen Shot 2019-10-29 at 2 41 39 PM

But the coordinates for the tile request is actually: 17/116411/51614. So with slight rounding, values are multiplied.

https://api.mapbox.com/styles/v1/mapbox/streets-v11/tiles/512/17/116411/51614@2x?access_token={Add token here}

51614@2x


Should these be at parity with one another?

Links to related documentation

Here's a quick test case: https://jsfiddle.net/tristen/6f0c9qzp/

@asheemmamoowala
Copy link
Contributor

@tristen this is a duplicate of #5535, and is solved by #7314 which looks like it is seeing some movement this week.

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