File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -1219,15 +1219,28 @@ function addPosition(position) {
12191219 path_length : 0 ,
12201220 curr_position : position ,
12211221 line : [ ] ,
1222- polyline : [ new google . maps . Polyline ( {
1222+ polyline : [
1223+ new google . maps . Polyline ( {
1224+ map : map ,
1225+ zIndex : Z_PATH ,
1226+ strokeColor : "#ffffff" ,
1227+ strokeOpacity : 0.8 ,
1228+ strokeWeight : 5 ,
1229+ clickable : true ,
1230+ draggable : false ,
1231+ geodesic : true
1232+ } ) ,
1233+ new google . maps . Polyline ( {
12231234 map : map ,
12241235 zIndex : Z_PATH ,
12251236 strokeColor : balloon_colors [ c ] ,
12261237 strokeOpacity : 0.8 ,
12271238 strokeWeight : 3 ,
12281239 clickable : true ,
12291240 draggable : false ,
1230- } ) ] ,
1241+ geodesic : true
1242+ } ) ,
1243+ ] ,
12311244 prediction : null ,
12321245 ascent_rate : 0.0 ,
12331246 horizontal_rate : 0.0 ,
@@ -1284,6 +1297,7 @@ function addPosition(position) {
12841297 strokeWeight : ( k * 4 ) + 2 ,
12851298 clickable : true ,
12861299 draggable : false ,
1300+ geodesic : true
12871301 } ) ) ;
12881302 }
12891303 }
You can’t perform that action at this time.
0 commit comments