lets_plot.tilesets.OSM#

lets_plot.tilesets.OSM = {'maptiles_attribution': '<a href="https://lets-plot.org">© Lets-Plot</a>, map data: <a href="https://www.openstreetmap.org/copyright">© OpenStreetMap contributors</a>', 'maptiles_kind': 'raster_zxy', 'maptiles_max_zoom': 19, 'maptiles_min_zoom': 1, 'maptiles_url': 'https://[abc].tile.openstreetmap.org/{z}/{x}/{y}.png'}#

OpenStreetMap’s standard tile layer.

Examples

1from lets_plot import *
2from lets_plot import tilesets
3LetsPlot.setup_html()
4ggplot() + geom_livemap(tiles=tilesets.OSM)