GetLatitude Method



 
The GetLatitude method returns the latitude of the current location.


Syntax

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

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

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

Back to top