GetAltitude Method



 
The GetAltitude method returns the altitude of the current location.


Syntax

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

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

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

Back to top