From cac9d8f7b86ed0de75b0bfb30bf925ee53b3c663 Mon Sep 17 00:00:00 2001 From: ajvpot <553597+ajvpot@users.noreply.github.com> Date: Fri, 1 Aug 2025 07:38:39 +0200 Subject: [PATCH] attribution update --- src/components/MapView.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/MapView.tsx b/src/components/MapView.tsx index bcbd860..b2af0b3 100644 --- a/src/components/MapView.tsx +++ b/src/components/MapView.tsx @@ -115,7 +115,7 @@ export default function MapView() { const tileLayerOptions: Record = { openstreetmap: { url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", - attribution: 'Tiles © OpenStreetMap | Data from Meshtastic', + attribution: 'Tiles © OpenStreetMap', maxZoom: 22, }, opentopomap: { @@ -125,7 +125,7 @@ export default function MapView() { }, esri: { url: "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", - attribution: 'Tiles © Esri | Data from Meshtastic', + attribution: 'Tiles © Esri', maxZoom: 21, }, }; @@ -248,6 +248,7 @@ export default function MapView() { [b.getSouthWest().lat, b.getSouthWest().lng], [b.getNorthEast().lat, b.getNorthEast().lng], ]); + map.attributionControl.setPrefix('map.w0z.is') } }, [map]); return null;