Replies: 6 comments 4 replies
-
What do you mean? Getting the raw data, or getting the list of tiles coordinates ever seen in the view ? |
Beta Was this translation helpful? Give feedback.
-
This is complicated as when you use pitch there's a whole algorithm to calculate which tiles to use. |
Beta Was this translation helpful? Give feedback.
-
I want to know too. |
Beta Was this translation helpful? Give feedback.
-
Are you able to use something simple, like the network tab of the developer tools? If you have a map with hash enabled you can zoom/pitch to a specific view, then refresh the page and see what gets loaded just for that view in the network tab Another tool called vt2geojson was useful in seeing what was actually in those pbf files shown in the network developers tool, for example, I have used it troubleshooting |
Beta Was this translation helpful? Give feedback.
-
Thank you for your suggestion. But I want to handle those tile coordinates in JavaScript. |
Beta Was this translation helpful? Give feedback.
-
I've recently needed to do something like this. I needed to get the list of vector tiles for a given source that are currently in view. This seems to do the trick for me:
The sourceCache also provides a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How to get all the tiles seen in the view in MapLibre
Beta Was this translation helpful? Give feedback.
All reactions