Support data area filling (full/partial/wireframe), shadow strokes

This commit is contained in:
Bryan Housel
2018-08-24 14:07:00 -04:00
parent 48e233e4a3
commit 7714e88f3d
4 changed files with 102 additions and 13 deletions
+22 -5
View File
@@ -59,16 +59,33 @@
pointer-events: none;
}
.layer-mapdata path {
.layer-mapdata path.shadow {
stroke: #f6634f;
stroke-width: 16;
stroke-opacity: 0;
fill: none;
}
.layer-mapdata path.shadow.related:not(.selected),
.layer-mapdata path.shadow.hover:not(.selected) {
stroke-opacity: 0.4;
}
.layer-mapdata path.shadow.selected {
stroke-opacity: 0.7;
}
.layer-mapdata path.stroke {
stroke: #ff26d4;
stroke-width: 2;
fill: none;
}
.layer-mapdata path.MultiPolygon,
.layer-mapdata path.Polygon {
stroke-width: 1;
.layer-mapdata path.fill {
stroke-width: 0;
stroke-opacity: 0.3;
stroke: #ff26d4;
fill: #ff26d4;
fill-opacity: 0.2;
fill-opacity: 0.3;
fill-rule: evenodd;
}
.layer-mapdata text.label-halo,