mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
add new firenze JS MapLibre example
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user