From 65d987c7dba6e4cc06bfbd7f7ab8a04c728a6626 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 31 Mar 2023 13:24:23 -0700 Subject: [PATCH] map: remove stamen Signed-off-by: Varun Patil --- src/components/top-matter/MapSplitMatter.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/top-matter/MapSplitMatter.vue b/src/components/top-matter/MapSplitMatter.vue index 3664f4d1..076cf7b6 100644 --- a/src/components/top-matter/MapSplitMatter.vue +++ b/src/components/top-matter/MapSplitMatter.vue @@ -61,8 +61,6 @@ import "leaflet-edgebuffer"; const OSM_TILE_URL = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"; const OSM_ATTRIBUTION = '© OpenStreetMap contributors'; -const STAMEN_URL = `https://stamen-tiles-{s}.a.ssl.fastly.net/terrain-background/{z}/{x}/{y}{r}.png`; -const STAMEN_ATTRIBUTION = `Map tiles by Stamen Design, under CC BY 3.0. Data by OpenStreetMap, under ODbL.`; // CSS transition time for zooming in/out cluster animation const CLUSTER_TRANSITION_TIME = 300; @@ -129,13 +127,11 @@ export default defineComponent({ computed: { tileurl() { - return this.zoom >= 5 || this.isDark ? OSM_TILE_URL : STAMEN_URL; + return OSM_TILE_URL; }, attribution() { - return this.zoom >= 5 || this.isDark - ? OSM_ATTRIBUTION - : STAMEN_ATTRIBUTION; + return OSM_ATTRIBUTION; }, },