mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Better look for mapillary markers
This commit is contained in:
+14
-7
@@ -1182,23 +1182,30 @@ text.gpx {
|
||||
}
|
||||
|
||||
.layer-mapillary g * {
|
||||
stroke-width: 2;
|
||||
stroke: #ffc600;
|
||||
stroke-width: 1;
|
||||
stroke: #444;
|
||||
fill: #ffc600;
|
||||
}
|
||||
|
||||
.layer-mapillary g:hover * {
|
||||
stroke-width: 2;
|
||||
stroke: #ff9900;
|
||||
stroke-width: 1;
|
||||
stroke: #333;
|
||||
fill: #ff9900;
|
||||
}
|
||||
|
||||
.layer-mapillary g.selected * {
|
||||
stroke-width: 4;
|
||||
stroke: #ff5800;
|
||||
.layer-mapillary g.selected * {
|
||||
stroke-width: 2;
|
||||
stroke: #222;
|
||||
fill: #ff5800;
|
||||
}
|
||||
|
||||
.layer-mapillary g:hover path.viewfield,
|
||||
.layer-mapillary g.selected path.viewfield,
|
||||
.layer-mapillary g path.viewfield {
|
||||
stroke-width: 0;
|
||||
fill-opacity: 0.6;
|
||||
}
|
||||
|
||||
/* Modes */
|
||||
|
||||
.mode-draw-line .vertex.active,
|
||||
|
||||
@@ -129,12 +129,14 @@ iD.MapillaryLayer = function (context) {
|
||||
.attr('class', 'image');
|
||||
|
||||
enter.append('path')
|
||||
.attr('d', 'M 0,-5 l 0,-20 l -5,30 l 10,0 l -5,-30');
|
||||
.attr('class', 'viewfield')
|
||||
.attr('transform', 'scale(1.5,1.5),translate(-8, -13)')
|
||||
.attr('d', 'M 6,9 C 8,8.4 8,8.4 10,9 L 16,-2 C 12,-5 4,-5 0,-2 z');
|
||||
|
||||
enter.append('circle')
|
||||
.attr('dx', '0')
|
||||
.attr('dy', '0')
|
||||
.attr('r', '8');
|
||||
.attr('r', '6');
|
||||
|
||||
g.attr('transform', transform);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user