mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Use water fill pattern for fountain area
This commit is contained in:
+4
-1
@@ -95,6 +95,9 @@ path.fill.tag-natural-water {
|
||||
stroke: rgba(119, 211, 222, 0.3);
|
||||
fill: rgba(119, 211, 222, 0.3);
|
||||
}
|
||||
path.fill.tag-amenity-fountain {
|
||||
fill: rgba(119, 211, 222, 0.3);
|
||||
}
|
||||
.preset-icon-fill-area.tag-amenity-swimming_pool,
|
||||
.preset-icon-fill-area.tag-leisure-swimming_pool,
|
||||
.preset-icon-fill-area.tag-landuse-aquaculture,
|
||||
@@ -106,7 +109,7 @@ path.fill.tag-natural-water {
|
||||
background-color: rgba(119, 211, 222, 0.3);
|
||||
}
|
||||
.pattern-color-waves,
|
||||
.pattern-color-water,
|
||||
.pattern-color-water_standing,
|
||||
.pattern-color-pond {
|
||||
fill: rgba(119, 211, 222, 0.3);
|
||||
}
|
||||
|
||||
@@ -18,7 +18,8 @@ export function svgAreas(projection, context) {
|
||||
// tag - value - rules (optional tag-values, pattern name)
|
||||
// (matches earlier rules first, so fallback should be last entry)
|
||||
amenity: {
|
||||
grave_yard: 'cemetery'
|
||||
grave_yard: 'cemetery',
|
||||
fountain: 'water_standing'
|
||||
},
|
||||
landuse: {
|
||||
cemetery: [
|
||||
@@ -43,7 +44,7 @@ export function svgAreas(projection, context) {
|
||||
meadow: 'meadow',
|
||||
military: 'construction',
|
||||
orchard: 'orchard',
|
||||
reservoir: 'water',
|
||||
reservoir: 'water_standing',
|
||||
quarry: 'quarry',
|
||||
vineyard: 'vineyard'
|
||||
},
|
||||
@@ -54,7 +55,7 @@ export function svgAreas(projection, context) {
|
||||
scrub: 'scrub',
|
||||
water: [
|
||||
{ water: 'pond', pattern: 'pond' },
|
||||
{ water: 'reservoir', pattern: 'water' },
|
||||
{ water: 'reservoir', pattern: 'water_standing' },
|
||||
{ pattern: 'waves' }
|
||||
],
|
||||
wetland: [
|
||||
|
||||
+1
-1
@@ -125,7 +125,7 @@ export function svgDefs(context) {
|
||||
['quarry', 'quarry'],
|
||||
['scrub', 'bushes'],
|
||||
['vineyard', 'vineyard'],
|
||||
['water', 'lines'],
|
||||
['water_standing', 'lines'],
|
||||
['waves', 'waves'],
|
||||
['wetland', 'wetland'],
|
||||
['wetland_marsh', 'wetland_marsh'],
|
||||
|
||||
Reference in New Issue
Block a user