hackgvl / open-map-data-multi-layers-demo

A bookmarkable map displaying all layers from HackGreenville Labs' Open Map Data
https://hackgvl.github.io/open-map-data-multi-layers-demo/
MIT License
2 stars 2 forks source link

Map tiles fail to load at max zoom #32

Closed ThorntonMatthewD closed 11 months ago

ThorntonMatthewD commented 11 months ago

The maximum zoom on the map is currently set to 20, however at this zoom level the map tiles appear as solid grey images.

Screenshot_2023-10-16_20-00-39

You can see it in action here: https://hackgvl.github.io/open-map-data-multi-layers-demo/?lat=34.851224882536776&lng=-82.39967912435533&zoom=20&maps=free-wi-fi-hotspots

I'm wondering if the max zoom needs to be 18 instead since it seems to be inclusive.

oliviasculley commented 11 months ago

There's actually also a bigger issue with tiles in that we should probably find a better alternative than freeloading off of open street map's donation-based tile servers, which could change their policy at any time: https://operations.osmfoundation.org/policies/tiles/

ThorntonMatthewD commented 11 months ago

My vote is for Spinal Map for the remainder of October. 🎃🤘

That is a really good point... I've seen some projects store their base tiles in a GitHub repo, but I'm not sure what limits we'd run into there in the long run.

Alex-Grimes commented 11 months ago

Spinal Map looks amazing 😆. I could do some research on alternative options for tile servers. Is a PR to lower the zoom limit to 18 still wanted?

ThorntonMatthewD commented 11 months ago

I think for now that would be good. If/when a different source of tiles is put into place then perhaps it can be increased again (if supported).

ThorntonMatthewD commented 11 months ago

36 fixes #32

Thank you, @Alex-Grimes !!!

allella commented 8 months ago

Related conversation at https://github.com/hackgvl/meta/issues/18#issuecomment-1894104063