mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-29 16:30:30 +02:00
Render circular place=* as an unfilled area
Basically, give it area label placement, but line behavior otherwise. Test case: #id=w169604918&map=19.46/41.41402/-70.94773
This commit is contained in:
@@ -359,6 +359,7 @@ path.fill.tag-amenity-parking {
|
||||
fill: #aaa;
|
||||
}
|
||||
|
||||
path.fill.tag-place,
|
||||
path.fill.tag-boundary {
|
||||
fill: none;
|
||||
}
|
||||
|
||||
@@ -161,5 +161,6 @@ iD.Way.areaKeys = {
|
||||
amenity: {},
|
||||
shop: {},
|
||||
man_made: {},
|
||||
public_transport: {}
|
||||
public_transport: {},
|
||||
place: {}
|
||||
};
|
||||
|
||||
@@ -2,7 +2,7 @@ iD.svg.TagClasses = function() {
|
||||
var keys = iD.util.trueObj([
|
||||
'highway', 'railway', 'waterway', 'power', 'motorway', 'amenity',
|
||||
'natural', 'landuse', 'building', 'oneway', 'bridge', 'boundary',
|
||||
'leisure', 'construction'
|
||||
'leisure', 'construction', 'place'
|
||||
]), tagClassRe = /^tag-/,
|
||||
tags = function(entity) { return entity.tags; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user