Skip to content

Commit

Permalink
add new firenze JS MapLibre example
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Aug 8, 2024
1 parent 721c65e commit 957d54a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions js/examples/maplibre.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,22 @@
}
},
layers: [
{
"id":"water",
"source": "example_source",
"source-layer":"water",
"type": "fill",
"paint": {
"fill-color": "#80b1d3"
}
},
{
"id":"buildings",
"source": "example_source",
"source-layer":"landuse",
"source-layer":"buildings",
"type": "fill",
"paint": {
"fill-color": "steelblue"
"fill-color": "#d9d9d9"
}
},
{
Expand All @@ -62,16 +71,16 @@
"source-layer":"roads",
"type": "line",
"paint": {
"line-color": "black"
"line-color": "#fc8d62"
}
},
{
"id":"mask",
"id":"pois",
"source": "example_source",
"source-layer":"mask",
"type": "fill",
"source-layer":"pois",
"type": "circle",
"paint": {
"fill-color": "white"
"circle-color": "#ffffb3"
}
}
]
Expand Down
Binary file modified spec/v3/protomaps(vector)ODbL_firenze.pmtiles
Binary file not shown.

0 comments on commit 957d54a

Please sign in to comment.