@@ -1804,15 +1804,15 @@ function updateVehicleInfo(vcallsign, newPosition) {
18041804
18051805 // determine how to link the vehicle coordinates to a native app, if on a mobile device
18061806 if ( ua . indexOf ( 'iphone' ) > - 1 ) {
1807- coords_text = '<a id="launch_mapapp" href="maps://?q=' + newPosition . gps_lat + ',' + newPosition . gps_lon + '">' +
1807+ coords_text = '<a href="maps://?q=' + newPosition . gps_lat + ',' + newPosition . gps_lon + '">' +
18081808 roundNumber ( newPosition . gps_lat , 5 ) + ', ' + roundNumber ( newPosition . gps_lon , 5 ) + '</a>' +
18091809 ' <i class="icon-location"></i>' ;
18101810 } else if ( ua . indexOf ( 'android' ) > - 1 ) {
1811- coords_text = '<a id="launch_mapapp" href="geo:' + newPosition . gps_lat + ',' + newPosition . gps_lon + '?q=' + newPosition . gps_lat + ',' + newPosition . gps_lon + '(' + vcallsign + ')">' +
1811+ coords_text = '<a href="geo:' + newPosition . gps_lat + ',' + newPosition . gps_lon + '?q=' + newPosition . gps_lat + ',' + newPosition . gps_lon + '(' + vcallsign + ')">' +
18121812 roundNumber ( newPosition . gps_lat , 5 ) + ', ' + roundNumber ( newPosition . gps_lon , 5 ) + '</a>' +
18131813 ' <i class="icon-location"></i>' ;
18141814 } else {
1815- coords_text = '<a id="launch_mapapp" href="https://www.google.com/maps/search/?api=1&query=' + newPosition . gps_lat + ',' + newPosition . gps_lon + '" target="_blank" rel="noopener noreferrer">' +
1815+ coords_text = '<a href="https://www.google.com/maps/search/?api=1&query=' + newPosition . gps_lat + ',' + newPosition . gps_lon + '" target="_blank" rel="noopener noreferrer">' +
18161816 roundNumber ( newPosition . gps_lat , 5 ) + ', ' + roundNumber ( newPosition . gps_lon , 5 ) + '</a>' +
18171817 ' <i class="icon-location"></i>' ;
18181818 }
0 commit comments