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

Allow to show tile boundary in debug.html #845

Closed
sharkAndshark opened this issue Aug 28, 2023 · 3 comments
Closed

Allow to show tile boundary in debug.html #845

sharkAndshark opened this issue Aug 28, 2023 · 3 comments
Labels
enhancement help wanted javascript Pull requests that update Javascript code UI

Comments

@sharkAndshark
Copy link
Collaborator

Something like this
image

@nyurik
Copy link
Member

nyurik commented Aug 29, 2023

I think @upsicleclown had some experience with this?

P.S. and yes, i agree that the debug screen should show tile boundaries

@nyurik nyurik added javascript Pull requests that update Javascript code UI help wanted and removed question labels Aug 29, 2023
@sharkAndshark
Copy link
Collaborator Author

sharkAndshark commented Sep 3, 2023

A method in maplibre:

map.showTileBoundaries = true;
  • The map will render an outline around each tile and the tile ID
  • The uncompressed file size of the first vector source is drawn in the top left corner of each tile, next to the tile ID
    Seems maputnik used this either.

@nyurik
Copy link
Member

nyurik commented Sep 3, 2023

Yes, good idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted javascript Pull requests that update Javascript code UI
Projects
None yet
Development

No branches or pull requests

2 participants