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 1 year ago

ThorntonMatthewD commented 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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 1 year ago

36 fixes #32

Thank you, @Alex-Grimes !!!

allella commented 10 months ago

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