mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-07 20:01:33 +00:00
Use thinner partial fills for buildings parts and indoor features (re: #6204)
This commit is contained in:
@@ -40,6 +40,12 @@
|
||||
stroke-width: 60px;
|
||||
pointer-events: none;
|
||||
}
|
||||
.fill-partial path.area.fill.tag-building_part {
|
||||
stroke-width: 40px;
|
||||
}
|
||||
.fill-partial path.area.fill.tag-indoor {
|
||||
stroke-width: 20px;
|
||||
}
|
||||
.mode-browse .fill-partial path.area.fill,
|
||||
.mode-select .fill-partial path.area.fill {
|
||||
pointer-events: visibleStroke;
|
||||
|
||||
@@ -6,7 +6,8 @@ export function svgTagClasses() {
|
||||
var primaries = [
|
||||
'building', 'highway', 'railway', 'waterway', 'aeroway', 'aerialway',
|
||||
'piste:type', 'boundary', 'power', 'amenity', 'natural', 'landuse',
|
||||
'leisure', 'military', 'place', 'man_made', 'route', 'attraction'
|
||||
'leisure', 'military', 'place', 'man_made', 'route', 'attraction',
|
||||
'building:part', 'indoor'
|
||||
];
|
||||
var statuses = [
|
||||
'proposed', 'construction', 'disused', 'abandoned', 'dismantled',
|
||||
@@ -15,7 +16,8 @@ export function svgTagClasses() {
|
||||
var secondaries = [
|
||||
'oneway', 'bridge', 'tunnel', 'embankment', 'cutting', 'barrier',
|
||||
'surface', 'tracktype', 'footway', 'crossing', 'service', 'sport',
|
||||
'public_transport', 'location', 'parking', 'golf', 'type', 'leisure', 'man_made'
|
||||
'public_transport', 'location', 'parking', 'golf', 'type', 'leisure',
|
||||
'man_made', 'indoor'
|
||||
];
|
||||
var _tags = function(entity) { return entity.tags; };
|
||||
|
||||
@@ -70,6 +72,8 @@ export function svgTagClasses() {
|
||||
|
||||
if (k === 'piste:type') { // avoid a ':' in the class name
|
||||
k = 'piste';
|
||||
} else if (k === 'building:part') { // avoid a ':' in the class name
|
||||
k = 'building_part';
|
||||
}
|
||||
|
||||
primary = k;
|
||||
|
||||
Reference in New Issue
Block a user