GetLongitude Method



 
The GetLongitude returns the longitude of the current location.


Syntax

    SiteKiosk.GeoLocation.GetLongitude()
    
Return Value
    Long value the contains the longitude of the current geolocation.
Remarks
    None.
Examples
    The following example shows the current longitude of the location in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert("Altitude: "+SiteKiosk.GeoLocation.GetLongitude();
    </SCRIPT>
    

Applies to
    SiteKiosk v9.0 (and later versions).

Back to top