From 0775652f9dd7e6029e2f746f950649019433000c Mon Sep 17 00:00:00 2001 From: Daan van Rasmhorst Date: Mon, 16 Jan 2023 14:28:50 +0100 Subject: [PATCH] Added Esri_WorldImagery as a new Leaflet layer. I used the layer fount here: https://leaflet-extras.github.io/leaflet-providers/preview/ (Tipped by @mkgrgis in this issue comment: https://github.com/simon04/locator-tool/issues/57#issuecomment-963436471) --- app/components/ltMap.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/components/ltMap.ts b/app/components/ltMap.ts index a7f9f08..05b8330 100644 --- a/app/components/ltMap.ts +++ b/app/components/ltMap.ts @@ -67,6 +67,12 @@ export class LtMapController implements ng.IComponentController { attribution: 'Wikimedia' }), + ['Esri World Imagery']: L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', { + ...maxZoomOptions, + maxNativeZoom: 19, + attribution: + 'Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community' + }), [`basemap.at 🇦🇹 ${external}`]: L.tileLayer( `//maps.wien.gv.at/basemap/bmaporthofoto30cm/normal/google3857/{z}/{y}/{x}.jpeg`, {