From c3c2cfd0a245dc4d9a3525624ede6c33f079c9c2 Mon Sep 17 00:00:00 2001 From: Ian B Date: Sat, 30 Mar 2013 13:28:14 +0100 Subject: [PATCH] Add aeroway styles (#1102) --- css/map.css | 30 ++++++++++++++++++++++++++++++ js/id/svg/tag_classes.js | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/css/map.css b/css/map.css index 2048fc0fd..d7ff34002 100644 --- a/css/map.css +++ b/css/map.css @@ -595,6 +595,36 @@ path.casing.tag-highway-steps { stroke: #fff; } +/* aeroways */ + +path.shadow.tag-aeroway-runway { + stroke-width: 20; +} + +path.stroke.tag-aeroway-taxiway { + stroke: #805C80; + stroke-width: 4; +} +path.stroke.tag-aeroway-runway { + stroke: #fff; + stroke-width: 2; + stroke-linecap: butt; + stroke-dasharray: 24, 48; +} +path.casing.tag-aeroway-runway { + stroke-width: 10; + stroke: #000; + stroke-linecap: square; +} +path.stroke.tag-aeroway-apron { + stroke: #805C80; +} +path.fill.tag-aeroway-apron { + fill: #805C80; + fill-opacity: 0.2; +} + + /* bridges */ path.casing.tag-bridge-yes { diff --git a/js/id/svg/tag_classes.js b/js/id/svg/tag_classes.js index 94f9034ee..96b907828 100644 --- a/js/id/svg/tag_classes.js +++ b/js/id/svg/tag_classes.js @@ -2,7 +2,7 @@ iD.svg.TagClasses = function() { var keys = d3.set([ 'highway', 'railway', 'waterway', 'power', 'motorway', 'amenity', 'natural', 'landuse', 'building', 'oneway', 'bridge', 'boundary', - 'tunnel', 'leisure', 'construction', 'place' + 'tunnel', 'leisure', 'construction', 'place', 'aeroway' ]), tagClassRe = /^tag-/, tags = function(entity) { return entity.tags; };