Web Geolocation (PRIM_WEB.Geolocation)

Use the browser geolocation features

Ancestors - Object (PRIM_OBJT)

Details

Geolocation provides access to the geolocation features of the browser.
 
A request for geolocation information is asynchronous. The Refreshed event will indicate when the request is complete.
 
This feature uses HTML5 functionality and the precise implementation will depend on the browser and device. For privacy reasons, it will also be necessary for the user to confirm that they are prepared to provide geolocation information.

Properties

NameDescription
AccuracyAccuracy of the position
AltitudeThe altitude in meters above mean sea level
AltitudeAccuracyAccuracy of the altitude position
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
ErrorCodeError code
HeadingThe heading as degrees clockwise from North
LatitudeThe latitude as a decimal number
LongitudeThe longitude as a decimal number
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentThe component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)
SpeedThe speed in meters per second

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Web Geolocation (PRIM_WEB.Geolocation)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Web Geolocation (PRIM_WEB.Geolocation)
RefreshedGeolocation has been refreshed

Methods

NameDescription
RefreshRefresh the geolocation data

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2