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;