Starting to filter POIs points
This commit is contained in:
parent
1241802888
commit
046c4e47d5
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"version": 8,
|
||||
"name": "Empty Style",
|
||||
"name": "Hiking",
|
||||
"metadata": { "maputnik:renderer": "mbgljs" },
|
||||
"sources": {
|
||||
"dyomedea": {
|
||||
"type": "vector",
|
||||
"tiles": [
|
||||
"https://geo.dyomedea.com/geoserver/gwc/service/wmts/rest/dyomedea/EPSG:900913/EPSG:900913:{z}/{y}/{x}?format=application/json;type=geojson"
|
||||
"https://geo.dyomedea.com/geoserver/gwc/service/wmts/rest/dyomedea/EPSG:900913/EPSG:900913:{z}/{y}/{x}?format=application/vnd.mapbox-vector-tile"
|
||||
],
|
||||
"minZoom": 0,
|
||||
"maxZoom": 14
|
||||
|
@ -20,7 +20,7 @@
|
|||
"type": "line",
|
||||
"source": "dyomedea",
|
||||
"source-layer": "planet_osm_line",
|
||||
"filter": ["any", ["==", "route", "hiking"]],
|
||||
"filter": ["all", ["==", "route", "hiking"]],
|
||||
"layout": { "visibility": "visible" },
|
||||
"paint": {
|
||||
"line-color": "rgba(73, 3, 82, 1)",
|
||||
|
@ -36,6 +36,23 @@
|
|||
"minzoom": 14,
|
||||
"filter": ["all", ["in", "highway", "path", "track", "footway", "steps"]],
|
||||
"paint": { "line-color": "rgba(73, 3, 82, 1)" }
|
||||
},
|
||||
{
|
||||
"id": "hiking-pois",
|
||||
"type": "circle",
|
||||
"source": "dyomedea",
|
||||
"source-layer": "planet_osm_point",
|
||||
"minzoom": 10,
|
||||
"filter": [
|
||||
"any",
|
||||
["in", "amenity", "bar", "fast_food", "food_court", "pub", "restaurant"]
|
||||
],
|
||||
"layout": { "visibility": "visible" },
|
||||
"paint": {
|
||||
"circle-color": "rgba(80, 4, 4, 1)",
|
||||
"circle-radius": 10,
|
||||
"circle-stroke-width": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"id": "c6w0li4lm"
|
||||
|
|
Loading…
Reference in New Issue