leaflet-extras / leaflet-providers

An extension to Leaflet that contains configurations for various free tile providers.
https://leaflet-extras.github.io/leaflet-providers/preview/
BSD 2-Clause "Simplified" License
2.15k stars 669 forks source link

"WMFLabs.OSM Black and White" don't work on demo page #350

Closed k-dmitrii closed 4 years ago

k-dmitrii commented 4 years ago

on this page https://tools.wmflabs.org/maplayers-demo/

brunob commented 4 years ago

See #316

k-dmitrii commented 4 years ago

but this is not because of "{s}." and "mapnik2" in url? var WMFLabs_OSM Black and White = L.tileLayer('http://{s}.tiles.wmflabs.org/bw-mapnik2/{z}/{x}/{y}.png' this one still works https://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png

brunob commented 4 years ago

@k-dmitrii i see that it seems to work again here https://phabricator.wikimedia.org/T204506#5075223

I've tested it and it's ok, feel free to provide a PR for that :)

k-dmitrii commented 4 years ago

hm. "{s}.tiles.wmflabs.org" redirect to "tiles.wmflabs.org" it's ok, but "mapnik2" still in url at demo work https://a.tiles.wmflabs.org/bw-mapnik/0/0/0.png don't work https://a.tiles.wmflabs.org/bw-mapnik2/0/0/0.png

brunob commented 4 years ago

i know, that's why i ask for a PR, since those tiles were removed since #316.