@@ -194,8 +194,6 @@ setup.initialize = function (callback) {
194194            arming_disable_flags_e  =  $ ( '.arming-disable-flags' ) , 
195195            gpsFix_e  =  $ ( '.GPS_info span.colorToggle' ) , 
196196            gpsSats_e  =  $ ( '.gpsSats' ) , 
197-             gpsLat_e  =  $ ( '.gpsLat' ) , 
198-             gpsLon_e  =  $ ( '.gpsLon' ) , 
199197            roll_e  =  $ ( 'dd.roll' ) , 
200198            pitch_e  =  $ ( 'dd.pitch' ) , 
201199            heading_e  =  $ ( 'dd.heading' ) , 
@@ -428,14 +426,15 @@ setup.initialize = function (callback) {
428426            } 
429427
430428            // GPS info is acquired in the background using update_live_status() in serial_backend.js 
431- 
432429            gpsFix_e . text ( FC . GPS_DATA . fix  ? i18n . getMessage ( 'gpsFixTrue' )  : i18n . getMessage ( 'gpsFixFalse' ) ) ; 
433430            gpsFix_e . toggleClass ( 'ready' ,  FC . GPS_DATA . fix  !=  0 ) ; 
434- 
435-             const  gspUnitText  =  i18n . getMessage ( 'gpsPositionUnit' ) ; 
436431            gpsSats_e . text ( FC . GPS_DATA . numSat ) ; 
437-             gpsLat_e . text ( `${ ( FC . GPS_DATA . lat  /  10000000 ) . toFixed ( 4 ) } ${ gspUnitText }  ) ; 
438-             gpsLon_e . text ( `${ ( FC . GPS_DATA . lon  /  10000000 ) . toFixed ( 4 ) } ${ gspUnitText }  ) ; 
432+ 
433+             const  lat  =  FC . GPS_DATA . lat  /  10000000 ; 
434+             const  lon  =  FC . GPS_DATA . lon  /  10000000 ; 
435+             const  url  =  `https://maps.google.com/?q=${ lat } ${ lon }  ; 
436+             const  gpsUnitText  =  i18n . getMessage ( 'gpsPositionUnit' ) ; 
437+             $ ( '.GPS_info td.latLon a' ) . prop ( 'href' ,  url ) . text ( `${ lat . toFixed ( 4 ) } ${ gpsUnitText } ${ lon . toFixed ( 4 ) } ${ gpsUnitText }  ) ; 
439438        } 
440439
441440        function  get_fast_data ( )  { 
0 commit comments