29 lines
660 B
JSON
29 lines
660 B
JSON
|
|
{
|
||
|
|
"version": 8,
|
||
|
|
"name": "OSM Raster + OpenSeaMap",
|
||
|
|
"sources": {
|
||
|
|
"osm": {
|
||
|
|
"type": "raster",
|
||
|
|
"tiles": ["https://tile.openstreetmap.org/{z}/{x}/{y}.png"],
|
||
|
|
"tileSize": 256,
|
||
|
|
"attribution": "© OpenStreetMap contributors"
|
||
|
|
},
|
||
|
|
"seamark": {
|
||
|
|
"type": "raster",
|
||
|
|
"tiles": ["https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png"],
|
||
|
|
"tileSize": 256,
|
||
|
|
"attribution": "© OpenSeaMap contributors"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"layers": [
|
||
|
|
{ "id": "osm", "type": "raster", "source": "osm" },
|
||
|
|
{
|
||
|
|
"id": "seamark",
|
||
|
|
"type": "raster",
|
||
|
|
"source": "seamark",
|
||
|
|
"paint": { "raster-opacity": 0.85 }
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
|