add new firenze JS MapLibre example

This commit is contained in:
Brandon Liu
2024-08-08 15:33:51 +08:00
parent 721c65e391
commit 957d54ac93
2 changed files with 17 additions and 8 deletions

View File

@@ -48,12 +48,21 @@
}, },
layers: [ layers: [
{ {
"id":"buildings", "id":"water",
"source": "example_source", "source": "example_source",
"source-layer":"landuse", "source-layer":"water",
"type": "fill", "type": "fill",
"paint": { "paint": {
"fill-color": "steelblue" "fill-color": "#80b1d3"
}
},
{
"id":"buildings",
"source": "example_source",
"source-layer":"buildings",
"type": "fill",
"paint": {
"fill-color": "#d9d9d9"
} }
}, },
{ {
@@ -62,16 +71,16 @@
"source-layer":"roads", "source-layer":"roads",
"type": "line", "type": "line",
"paint": { "paint": {
"line-color": "black" "line-color": "#fc8d62"
} }
}, },
{ {
"id":"mask", "id":"pois",
"source": "example_source", "source": "example_source",
"source-layer":"mask", "source-layer":"pois",
"type": "fill", "type": "circle",
"paint": { "paint": {
"fill-color": "white" "circle-color": "#ffffb3"
} }
} }
] ]