File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -364,11 +364,11 @@ function updateVehicleInfo(index, position) {
364364 var ua = navigator . userAgent . toLowerCase ( ) ;
365365 // determine how to link the vehicle coordinates to a native app, if on a mobile device
366366 if ( ua . indexOf ( 'iphone' ) > - 1 ) {
367- coords_text = '<a id="launch_mapapp" href="http://maps.google.com /?q=' + position . gps_lat + ',' + position . gps_lon + '">'
367+ coords_text = '<a id="launch_mapapp" href="maps:/ /?q=' + position . gps_lat + ',' + position . gps_lon + '">'
368368 + roundNumber ( position . gps_lat , 6 ) + ', ' + roundNumber ( position . gps_lon , 6 ) + '</a>'
369369 + ' <i class="icon-location"></i>' ;
370370 } else if ( ua . indexOf ( 'android' ) > - 1 ) {
371- coords_text = '<a id="launch_mapapp" href="geo:0,0?q= ' + position . gps_lat + ',' + position . gps_lon + '">'
371+ coords_text = '<a id="launch_mapapp" href="geo:' + position . gps_lat + ',' + position . gps_lon + '">'
372372 + roundNumber ( position . gps_lat , 6 ) + ', ' + roundNumber ( position . gps_lon , 6 ) + '</a>'
373373 + ' <i class="icon-location"></i>' ;
374374 } else {
You can’t perform that action at this time.
0 commit comments