lets_plot.maptiles_solid#

lets_plot.maptiles_solid(color: str)#

Make solid color tiles config. Can be used individually in geom_livemap() or in every livemap via LetsPlot.set().

Parameters:
colorstr

Color in HEX format.

Returns:
dict

Tile provider settings.

Examples

1from lets_plot import *
2from lets_plot.geo_data import *
3LetsPlot.setup_html()
4nyc = geocode_cities('New York').get_boundaries()
5tiles = maptiles_solid(color='#d3d3d3')
6ggplot() + geom_livemap(tiles=tiles) + geom_map(data=nyc)
The geodata is provided by © OpenStreetMap contributors and is made available here under the Open Database License (ODbL).