Stephan Bösch-Plepelits
7 years ago
6 changed files with 40 additions and 30 deletions
-
6categories/children.json
-
6categories/gastro.json
-
16categories/parks.json
-
10categories/shop.json
-
30categories/trees.json
-
2src/OpenStreetBrowserCategory.js
@ -1,11 +1,13 @@ |
|||||
{ |
{ |
||||
"type": "category", |
"type": "category", |
||||
"query": "(way[leisure=park];relation[leisure=park];)", |
"query": "(way[leisure=park];relation[leisure=park];)", |
||||
"style": { |
|
||||
"color": "green", |
|
||||
"fillColor": "green", |
|
||||
"fillOpacity": 0.2, |
|
||||
"weight": 2 |
|
||||
}, |
|
||||
"minZoom": 14 |
|
||||
|
"minZoom": 14, |
||||
|
"feature": { |
||||
|
"style": { |
||||
|
"color": "green", |
||||
|
"fillColor": "green", |
||||
|
"fillOpacity": 0.2, |
||||
|
"weight": 2 |
||||
|
} |
||||
|
} |
||||
} |
} |
@ -1,19 +1,21 @@ |
|||||
{ |
{ |
||||
"type": "category", |
"type": "category", |
||||
"query": "node[natural=tree];", |
"query": "node[natural=tree];", |
||||
"style": { |
|
||||
"nodeFeature": "CircleMarker", |
|
||||
"color": "red", |
|
||||
"fillColor": "red", |
|
||||
"fillOpacity": 0.1, |
|
||||
"weight": 1, |
|
||||
"radius": 6 |
|
||||
}, |
|
||||
"marker": { |
|
||||
"iconUrl": "img/map_pointer.png", |
|
||||
"iconSize": [ 25, 42 ], |
|
||||
"iconAnchor": [ 13, 42 ] |
|
||||
}, |
|
||||
"minZoom": 17, |
"minZoom": 17, |
||||
"featureTitle": "{{ tags.species|default('Tree') }}" |
|
||||
|
"feature": { |
||||
|
"title": "{{ tags.species|default('Tree') }}", |
||||
|
"style": { |
||||
|
"nodeFeature": "CircleMarker", |
||||
|
"color": "red", |
||||
|
"fillColor": "red", |
||||
|
"fillOpacity": 0.1, |
||||
|
"weight": 1, |
||||
|
"radius": 6 |
||||
|
}, |
||||
|
"marker": { |
||||
|
"iconUrl": "img/map_pointer.png", |
||||
|
"iconSize": [ 25, 42 ], |
||||
|
"iconAnchor": [ 13, 42 ] |
||||
|
} |
||||
|
} |
||||
} |
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue