mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 17:52:55 +00:00
Add leisure=park rendering
This commit is contained in:
@@ -186,14 +186,16 @@ path.area.tag-landuse,
|
||||
path.area.tag-natural-wood,
|
||||
path.area.tag-natural-tree,
|
||||
path.area.tag-natural-grassland,
|
||||
path.area.tag-leisure-park,
|
||||
path.multipolygon.tag-landuse,
|
||||
path.multipolygon.tag-natural-wood,
|
||||
path.multipolygon.tag-natural-tree,
|
||||
path.multipolygon.tag-natural-grassland {
|
||||
path.multipolygon.tag-natural-grassland,
|
||||
path.multipolygon.tag-leisure-park {
|
||||
stroke: #006B34;
|
||||
stroke-width: 1;
|
||||
fill: #189E59;
|
||||
fill-opacity:0.2;
|
||||
fill-opacity: 0.2;
|
||||
}
|
||||
|
||||
/* highways */
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
iD.svg.TagClasses = function() {
|
||||
var keys = iD.util.trueObj([
|
||||
'highway', 'railway', 'motorway', 'amenity', 'natural',
|
||||
'landuse', 'building', 'oneway', 'bridge', 'boundary'
|
||||
'landuse', 'building', 'oneway', 'bridge', 'boundary',
|
||||
'leisure'
|
||||
]), tagClassRe = /^tag-/;
|
||||
|
||||
return function tagClassesSelection(selection) {
|
||||
|
||||
Reference in New Issue
Block a user