Adding poi polygons.

This commit is contained in:
Eric van der Vlist 2023-01-31 12:06:34 +01:00
parent 5b9c2e3ca4
commit fcc09e2ace
1 changed files with 96 additions and 1 deletions

View File

@ -38,7 +38,7 @@
"paint": { "line-color": "rgba(73, 3, 82, 1)" } "paint": { "line-color": "rgba(73, 3, 82, 1)" }
}, },
{ {
"id": "hiking-pois", "id": "hiking-poi-points",
"type": "circle", "type": "circle",
"source": "dyomedea", "source": "dyomedea",
"source-layer": "planet_osm_point", "source-layer": "planet_osm_point",
@ -131,6 +131,101 @@
"circle-radius": 10, "circle-radius": 10,
"circle-stroke-width": 1 "circle-stroke-width": 1
} }
},
{
"id": "hiking-poi-polygons",
"type": "fill",
"source": "dyomedea",
"source-layer": "planet_osm_polygon",
"minzoom": 11,
"filter": [
"any",
[
"in",
"amenity",
"bar",
"fast_food",
"food_court",
"pub",
"restaurant",
"cafe",
"atm",
"bank",
"doctors",
"hospital",
"pharmacy",
"police",
"fire_station",
"drinking_water",
"water_point",
"waste_basket",
"waste_disposal",
"vending_machine"
],
[
"in",
"shop",
"bakery",
"butcher",
"cheese",
"chocolate",
"convenience",
"dairy",
"farm",
"greengrocer",
"health_food",
"pasta",
"pastry",
"seafood",
"water",
"department_store",
"general",
"mall",
"supermarket",
"wholesale",
"outdoor",
"laundry"
],
[
"in",
"tourism",
"hotel",
"alpine_hut",
"apartment",
"camp_site",
"chalet",
"guest_house",
"hostel",
"motel",
"wilderness_hut",
"viewpoint"
],
["in", "waterway", "waterfall"],
[
"in",
"natural",
"peak",
"cave_entrance",
"volcano",
"arch",
"arete",
"fumarole",
"rock",
"saddle",
"sinkhole",
"stone",
"glacier",
"spring",
"hot_spring",
"geyser"
]
],
"layout": { "visibility": "visible" },
"paint": {
"fill-color": "rgba(49, 3, 3, 1)",
"fill-antialias": true,
"fill-outline-color": "rgba(4, 2, 41, 1)"
}
} }
], ],
"id": "c6w0li4lm" "id": "c6w0li4lm"