fix:OSM
This commit is contained in:
24
static/map-styles/dark-matter.json
Normal file
24
static/map-styles/dark-matter.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "Dark Matter",
|
||||
"sources": {
|
||||
"carto-dark": {
|
||||
"type": "raster",
|
||||
"tiles": [
|
||||
"https://a.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png",
|
||||
"https://b.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png",
|
||||
"https://c.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png",
|
||||
"https://d.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png"
|
||||
],
|
||||
"tileSize": 256,
|
||||
"attribution": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors © <a href=\"https://carto.com/attributions\">CARTO</a>"
|
||||
}
|
||||
},
|
||||
"layers": [
|
||||
{
|
||||
"id": "carto-dark-layer",
|
||||
"type": "raster",
|
||||
"source": "carto-dark"
|
||||
}
|
||||
]
|
||||
}
|
||||
24
static/map-styles/positron.json
Normal file
24
static/map-styles/positron.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "Positron (Light)",
|
||||
"sources": {
|
||||
"carto-light": {
|
||||
"type": "raster",
|
||||
"tiles": [
|
||||
"https://a.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png",
|
||||
"https://b.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png",
|
||||
"https://c.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png",
|
||||
"https://d.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png"
|
||||
],
|
||||
"tileSize": 256,
|
||||
"attribution": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors © <a href=\"https://carto.com/attributions\">CARTO</a>"
|
||||
}
|
||||
},
|
||||
"layers": [
|
||||
{
|
||||
"id": "carto-light-layer",
|
||||
"type": "raster",
|
||||
"source": "carto-light"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user