gc-wing/apps/web/public/map/styles/osm-seamark.json

30 lines
735 B
JSON

{
"version": 8,
"name": "OSM Raster + OpenSeaMap",
"glyphs": "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
"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 }
}
]
}