From 6dbd0166fc632c19e9d0357f1c4973207ed339f2 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 15 Apr 2014 10:45:56 -0700 Subject: [PATCH] Improvements to land use preset display --- css/app.css | 5 ++++- css/map.css | 5 +---- data/presets/presets.json | 2 ++ data/presets/presets/landuse/commercial.json | 1 + data/presets/presets/landuse/residential.json | 1 + 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/css/app.css b/css/app.css index 934dc26c3..32c935332 100644 --- a/css/app.css +++ b/css/app.css @@ -939,7 +939,10 @@ a:hover .icon.out-link { background-position: -500px -14px;} } .preset-icon-fill.tag-shop, -.preset-icon-fill.tag-building { +.preset-icon-fill.tag-building, +.preset-icon-fill.tag-landuse.tag-landuse-residential, +.preset-icon-fill.tag-landuse.tag-landuse-construction, +.preset-icon-fill.tag-landuse.tag-landuse-military { background:transparent url(img/sprite.svg) no-repeat 0 -80px; } diff --git a/css/map.css b/css/map.css index 89523cbdc..f11515c66 100644 --- a/css/map.css +++ b/css/map.css @@ -245,10 +245,7 @@ path.stroke.tag-landuse-landfill { stroke: #ff9933; } -path.stroke.tag-landuse-military { - stroke: #e06e5f; -} - +path.stroke.tag-landuse-military, path.stroke.tag-landuse-residential, path.stroke.tag-landuse-construction { stroke: #e06e5f; diff --git a/data/presets/presets.json b/data/presets/presets.json index 0472f4851..a95c41ba7 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -4435,6 +4435,7 @@ "name": "Cemetery" }, "landuse/commercial": { + "icon": "commercial", "geometry": [ "point", "area" @@ -4604,6 +4605,7 @@ "name": "Quarry" }, "landuse/residential": { + "icon": "building", "geometry": [ "point", "area" diff --git a/data/presets/presets/landuse/commercial.json b/data/presets/presets/landuse/commercial.json index a51d4628e..d7610d78e 100644 --- a/data/presets/presets/landuse/commercial.json +++ b/data/presets/presets/landuse/commercial.json @@ -1,4 +1,5 @@ { + "icon": "commercial", "geometry": [ "point", "area" diff --git a/data/presets/presets/landuse/residential.json b/data/presets/presets/landuse/residential.json index e4199c240..ef0b5e31a 100644 --- a/data/presets/presets/landuse/residential.json +++ b/data/presets/presets/landuse/residential.json @@ -1,4 +1,5 @@ { + "icon": "building", "geometry": [ "point", "area"