|
|
|
|
@ -342,13 +342,13 @@
|
|
|
|
|
const MAP_STYLES = {
|
|
|
|
|
dark: {
|
|
|
|
|
name: 'Dark',
|
|
|
|
|
url: 'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png',
|
|
|
|
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OSM</a> © <a href="https://carto.com/">CARTO</a>'
|
|
|
|
|
url: 'https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Base/MapServer/tile/{z}/{y}/{x}',
|
|
|
|
|
attribution: '© Esri'
|
|
|
|
|
},
|
|
|
|
|
satellite: {
|
|
|
|
|
name: 'Satellite',
|
|
|
|
|
url: 'https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}',
|
|
|
|
|
attribution: '© Google'
|
|
|
|
|
url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
|
|
|
|
|
attribution: '© Esri'
|
|
|
|
|
},
|
|
|
|
|
terrain: {
|
|
|
|
|
name: 'Terrain',
|
|
|
|
|
@ -362,13 +362,13 @@
|
|
|
|
|
},
|
|
|
|
|
topo: {
|
|
|
|
|
name: 'Topo',
|
|
|
|
|
url: 'https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png',
|
|
|
|
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OSM</a> © <a href="https://carto.com/">CARTO</a>'
|
|
|
|
|
url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}',
|
|
|
|
|
attribution: '© Esri'
|
|
|
|
|
},
|
|
|
|
|
watercolor: {
|
|
|
|
|
name: 'Minimal',
|
|
|
|
|
url: 'https://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}{r}.png',
|
|
|
|
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OSM</a> © <a href="https://carto.com/">CARTO</a>'
|
|
|
|
|
name: 'Ocean',
|
|
|
|
|
url: 'https://server.arcgisonline.com/ArcGIS/rest/services/Ocean/World_Ocean_Base/MapServer/tile/{z}/{y}/{x}',
|
|
|
|
|
attribution: '© Esri'
|
|
|
|
|
},
|
|
|
|
|
hybrid: {
|
|
|
|
|
name: 'Hybrid',
|
|
|
|
|
@ -377,8 +377,8 @@
|
|
|
|
|
},
|
|
|
|
|
gray: {
|
|
|
|
|
name: 'Gray',
|
|
|
|
|
url: 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png',
|
|
|
|
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OSM</a> © <a href="https://carto.com/">CARTO</a>'
|
|
|
|
|
url: 'https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}',
|
|
|
|
|
attribution: '© Esri'
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|