diff --git a/telluric/plotting.py b/telluric/plotting.py index 02a40ce..9a8f57e 100644 --- a/telluric/plotting.py +++ b/telluric/plotting.py @@ -51,7 +51,7 @@ def simple_plot(feature, *, mp=None, **map_kwargs): from telluric.collections import BaseCollection if mp is None: - mp = folium.Map(tiles="Stamen Terrain", **map_kwargs) + mp = folium.Map(tiles="CartoDB Positron", **map_kwargs) if feature.is_empty: warnings.warn("The geometry is empty.") @@ -143,7 +143,7 @@ def plot(feature, mp=None, style_function=None, **map_kwargs): Extra parameters to send to ipyleaflet.Map. """ - map_kwargs.setdefault('basemap', basemaps.Stamen.Terrain) + map_kwargs.setdefault('basemap', basemaps.CartoDB.Positron) if feature.is_empty: warnings.warn("The geometry is empty.") mp = Map(**map_kwargs) if mp is None else mp diff --git a/telluric/util/local_tile_server.py b/telluric/util/local_tile_server.py index 5b36702..e555a6b 100644 --- a/telluric/util/local_tile_server.py +++ b/telluric/util/local_tile_server.py @@ -116,7 +116,7 @@ def default_port(): @classmethod def folium_client(cls, obj, bounds, mp=None, capture=None, - base_map_name="Stamen Terrain", port=None): + base_map_name="CartoDB Positron", port=None): port = port or cls.default_port() shape = bounds.get_shape(WGS84_CRS) mp = mp or folium.Map(tiles=base_map_name)