From 89aaf466f74891ee2a9d5aac7d6f03cec50893c6 Mon Sep 17 00:00:00 2001 From: Qiusheng Wu Date: Tue, 31 Oct 2023 08:54:34 -0400 Subject: [PATCH] Replace Stamen.Terrain --- geemap/plotlymap.py | 2 +- geemap/toolbar.py | 2 +- tests/test_basemaps.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/geemap/plotlymap.py b/geemap/plotlymap.py index dde35ec2d0..dcbd31aaaa 100644 --- a/geemap/plotlymap.py +++ b/geemap/plotlymap.py @@ -717,7 +717,7 @@ def add_heatmap_demo(self, **kwargs): **kwargs, ) - self.add_basemap("Stamen.Terrain") + self.add_basemap("Esri.WorldTopoMap") self.add_trace(heatmap) def add_gdf( diff --git a/geemap/toolbar.py b/geemap/toolbar.py index 21cf8297d5..888489237b 100644 --- a/geemap/toolbar.py +++ b/geemap/toolbar.py @@ -4928,7 +4928,7 @@ def plotly_basemap_gui(canvas, map_min_width="78%", map_max_width="98%"): map_widget.layout.width = map_min_width - value = "Stamen.Terrain" + value = "Esri.WorldTopoMap" m.add_basemap(value) dropdown = widgets.Dropdown( diff --git a/tests/test_basemaps.py b/tests/test_basemaps.py index 16b7a5a3ad..14c8ed2a87 100644 --- a/tests/test_basemaps.py +++ b/tests/test_basemaps.py @@ -51,7 +51,7 @@ def test_xyz_to_leaflet_sources(self): expected_keys = { "custom_xyz": "OpenStreetMap", "custom_wms": "USGS NAIP Imagery", - "xyzservices_xyz": "Stamen.Terrain", + "xyzservices_xyz": "Esri.WorldTopoMap", } for _, expected_name in expected_keys.items(): self.assertIn(expected_name, self.tiles)