Properly style natural-water. Fixes #211

This commit is contained in:
Tom MacWright
2012-12-06 13:54:22 -05:00
parent 6a63f26bf5
commit aa5c86131f
3 changed files with 9 additions and 3 deletions
+8 -1
View File
@@ -95,6 +95,11 @@ path.area.natural {
stroke-width:1;
}
path.area.natural.natural-water {
stroke: #6382FF;
fill: #ADBEFF;
}
path.area.building {
stroke: #9E176A;
stroke-width: 1;
@@ -102,7 +107,9 @@ path.area.building {
}
path.area.landuse,
path.area.natural {
path.area.natural.natural-wood,
path.area.natural.natural-tree,
path.area.natural.natural-grassland {
stroke: #006B34;
stroke-width: 1;
fill: #189E59;
-1
View File
@@ -274,7 +274,6 @@ iD.Map = function() {
});
}
function connectionLoad(err, result) {
history.merge(result);
drawVector(iD.util.trueObj(Object.keys(result.entities)));
+1 -1
View File
@@ -49,7 +49,7 @@ iD.Style.markerimage = function(d) {
};
iD.Style.TAG_CLASSES = iD.util.trueObj([
'highway', 'railway', 'motorway', 'amenity',
'highway', 'railway', 'motorway', 'amenity', 'natural',
'landuse', 'building', 'oneway', 'bridge', 'elastic'
]);