Leave directional indicator only for current image

This commit is contained in:
Matias Volpe
2018-07-19 09:46:25 -03:00
parent aac394a487
commit c000da07af
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -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);