import { BasemapConfig } from "../types/basemap-config"; export const basemapConfig: BasemapConfig = { osm: { name: "OpenStreetMap", thumbnail: "osm-thumb.png", leaflet: { url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", attribution: '© OpenStreetMap contributors', maxZoom: 19, }, cesium: { type: "OpenStreetMapImageryProvider", options: { url: "https://a.tile.openstreetmap.org/", }, }, }, satellite: { name: "Satellite", thumbnail: "satellite-thumb.png", leaflet: { url: "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", attribution: "Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community", maxZoom: 18, }, cesium: { type: "ArcGisMapServerImageryProvider", options: { url: "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer", }, }, }, terrain: { name: "Terrain", thumbnail: "terrain-thumb.png", leaflet: { url: "https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png", attribution: 'Map data: © OpenStreetMap contributors, SRTM | Map style: © OpenTopoMap', maxZoom: 17, }, cesium: { type: "OpenStreetMapImageryProvider", options: { url: "https://a.tile.opentopomap.org/", }, }, }, dark: { name: "Dark Mode", thumbnail: "dark-thumb.png", leaflet: { url: "https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png", attribution: '© OpenStreetMap contributors © CARTO', maxZoom: 19, }, cesium: { type: "UrlTemplateImageryProvider", options: { url: "https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png", subdomains: ["a", "b", "c", "d"], minimumLevel: 0, maximumLevel: 19, }, }, }, light: { name: "Light Mode", thumbnail: "light-thumb.png", leaflet: { url: "https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png", attribution: '© OpenStreetMap contributors © CARTO', maxZoom: 19, }, cesium: { type: "UrlTemplateImageryProvider", options: { url: "https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png", subdomains: ["a", "b", "c", "d"], minimumLevel: 0, maximumLevel: 19, }, }, }, rbi: { name: "RBI", thumbnail: "rbi-thumb.png", leaflet: { url: "https://geoservices.big.go.id/rbi/rest/services/BASEMAP/Rupabumi_Indonesia/MapServer/tile/{z}/{y}/{x}", attribution: '© OpenStreetMap contributors © CARTO', maxZoom: 19, }, cesium: { type: "UrlTemplateImageryProvider", options: { url: "https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png", subdomains: ["a", "b", "c", "d"], minimumLevel: 0, maximumLevel: 19, }, }, }, };