codemonger-io / dogs-business

Track and share your dog's business
0 stars 1 forks source link

Invent business record caching strategy #39

Open kikuomax opened 3 years ago

kikuomax commented 3 years ago

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

kikuomax commented 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