publiclab / leaflet-environmental-layers

Collection of different environmental map layers in an easy to use Leaflet library, similar to https://github.com/leaflet-extras/leaflet-providers#leaflet-providers
https://publiclab.github.io/leaflet-environmental-layers/example/
GNU General Public License v3.0
99 stars 77 forks source link

tileLayer not working #496

Open saurabhkanswal opened 3 years ago

saurabhkanswal commented 3 years ago

when we are opening https://publiclab.github.io/leaflet-environmental-layers/example/#lat=25.09&lon=-52.73&zoom=3&layers=Standard the tile layer is not loading as it loads earlier.

I think this is happening because classic styles are no longer supported. more information can be found here: 1: https://blog.mapbox.com/deprecating-studio-classic-styles-d8892ac38cb4 2: https://docs.mapbox.com/help/troubleshooting/migrate-legacy-static-tiles-api/?/=blog&utm_source=mapbox-blog&utm_campaign=blog%7Cmapbox-blog%7Cdoc-migrate-static%7Cdeprecating-studio-classic-styles-d8892ac38cb4-20-03&utm_term=doc-migrate-static&utm_content=deprecating-studio-classic-styles-d8892ac38cb4#leaflet-implementations

please let me know your thought on this.

sagarpreet-chadha commented 3 years ago

Hey @saurabhkanswal , thanks for opening the issue. I think this is already solved by @jywarren recently. You can confirm by checking into main branch and see if tiles are rendered or not. Also we can deploy latest main changes to gh-page branch, would you like to work on it? Thanks 😄

saurabhkanswal commented 3 years ago

@sagarpreet-chadha yes, the link has updated in the main branch. And yes, i love to solve the issue for gh-page branch. will make PR soon :)