You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, you have to set the tile url as the whole string (e.g., http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png). I think this was proposing setting a dictionary of these values: tiles = {osm: 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', 'stamen-toner-lite': 'http://tile.stamen.com/toner-lite/{z}/{x}/{y}.png'} and then supporting setting the tile url as a single word: layer.url('osm').
This would make it convenient to specify a few tile sources quickly; we default to OSM, but if we wanted to have a short list of common tile servers, this would facilitate it.
Like openstreetmaps, mapquest, etc.
The text was updated successfully, but these errors were encountered: