function jsmSetLatLonDisplay(lat,lon)
{
    var latlonItem = jsmGetLatLonDisplayElement();
    if (latlonItem != null) {
        var dec = 4; // jsvGeozoneMode? 5 : 4; // lat/lon decimal points
        if ((lat == 0) && (lon == 0)) {
            // may want to handle this case differently
            var loc = jsmFormatCoord(0.0,true ,dec) + ', ' + jsmFormatCoord(0.0,false,dec)
            latlonItem.innerHTML = loc;
        } else {
            // display latitude/longitude
            var loc = jsmFormatCoord(lat,true ,dec) + ', ' + jsmFormatCoord(lon,false,dec)
            latlonItem.innerHTML = loc;
        }
    }
}
/**
*** Displays the specified Lat/Lon value
*** @param lat  The Latitude
*** @param lon  The Longitude
**/
Displays the specified Lat/Lon value
Displays the specified Lat / Lon value
function jsmSetLatLonDisplay(lat,lon)
{
    var latlonItem = jsmGetLatLonDisplayElement();
    if (latlonItem != null) {
        var dec = 4; 
        if ((lat == 0) && (lon == 0)) {
            var loc = jsmFormatCoord(0.0,true ,dec) + ', ' + jsmFormatCoord(0.0,false,dec)
            latlonItem.innerHTML = loc;
        } else {
            var loc = jsmFormatCoord(lat,true ,dec) + ', ' + jsmFormatCoord(lon,false,dec)
            latlonItem.innerHTML = loc;
        }
    }
}
function jsmSetLatLonDisplay ( lat , lon ) { var latlonItem = jsmGetLatLonDisplayElement ( ) ; if ( latlonItem != null ) { var dec = 4 ; if ( ( lat == 0 ) && ( lon == 0 ) ) { var loc = jsmFormatCoord ( 0.0 , true , dec ) + ', ' + jsmFormatCoord ( 0.0 , false , dec ) latlonItem . innerHTML = loc ; } else { var loc = jsmFormatCoord ( lat , true , dec ) + ', ' + jsmFormatCoord ( lon , false , dec ) latlonItem . innerHTML = loc ; } } }
Displays the specified Lat/Lon value
Displays the specified Lat / Lon value
// jsvGeozoneMode? 5 : 4; // lat/lon decimal points // may want to handle this case differently // display latitude/longitude