mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Leave directional indicator only for current image
This commit is contained in:
@@ -177,6 +177,13 @@
|
||||
.layer-mapillary-images .viewfield-group * {
|
||||
fill: #55ff22;
|
||||
}
|
||||
.layer-mapillary-images .viewfield-group .viewfield {
|
||||
display: none;
|
||||
}
|
||||
.layer-mapillary-images .viewfield-group.selected .viewfield,
|
||||
.layer-mapillary-images .viewfield-group .viewfield.pano {
|
||||
display: inline;
|
||||
}
|
||||
.layer-mapillary-images .sequence {
|
||||
stroke: #55ff22;
|
||||
}
|
||||
|
||||
@@ -201,6 +201,7 @@ export function svgMapillaryImages(projection, context, dispatch) {
|
||||
viewfields.enter() // viewfields may or may not be drawn...
|
||||
.insert('path', 'circle') // but if they are, draw below the circles
|
||||
.attr('class', 'viewfield')
|
||||
.classed('pano', function() { return this.parentNode.__data__.pano; })
|
||||
.attr('transform', 'scale(1.5,1.5),translate(-8, -13)')
|
||||
.attr('d', viewfieldPath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user