Open kikuomax opened 3 years ago
If you want to know which map tiles can be visible in a viewport, you can use Transform.coveringTiles
.
https://github.com/mapbox/mapbox-gl-js/blob/19400a045597d9cae2a87d4dda4a2bbe38767e17/src/geo/transform.js#L633-L643
We have to invent our own caching feature though, use "sourcedata" events for now.
Originally posted by @kikuomax in https://github.com/codemonger-io/dogs-business/issues/35#issuecomment-905963501