Open daguar opened 10 years ago
Definitely a config option. It’s pretty common in Tilesville to use URL syntax like “http://example.com/{Z}/{X}/{Y}.png” in a config, which would cover Mapquest, Mapbox, Stamen, or really anyone else who uses the common XYZ tile naming convention. I think it might actually cover 99% of the OSM ecosystem; Bing does their own thing.
This stuff's should be all configured in the JS if you -- or someone else in the web mapping world -- wants to take a swing at it. No Ruby necessary!
Nice! I’ll look for it…
Flagging for later reference: http://leafletjs.com/reference.html#tilelayer
...instead of Mapbox.
It's free and open to use, but could consider a config option to use another tile provider (though it's so minor in this app, probably not worth it.)