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

Name

Description

Accuracy

Accuracy of the position

Altitude

The altitude in meters above mean sea level

AltitudeAccuracy

Accuracy of the altitude position

ComponentClassName

ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)

ComponentMembers

ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)

ComponentPatternName

ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)

ComponentTag

Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)

ComponentType

ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)

ComponentTypeName

ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)

ErrorCode

Error code

Heading

The heading as degrees clockwise from North

Latitude

The latitude as a decimal number

Longitude

The longitude as a decimal number

Name

Name identifies the component Inherited from Object (PRIM_OBJT)

Owner

Owner owns this component Inherited from Object (PRIM_OBJT)

Parent

The 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)

Speed

The speed in meters per second

Events

Name

Description

CreateInstance

CreateInstance is signalled when an instance of a component is created Inherited from Web Geolocation (PRIM_WEB.Geolocation)

DestroyInstance

DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Web Geolocation (PRIM_WEB.Geolocation)

Refreshed

Geolocation has been refreshed

Methods

Name

Description

Refresh

Refresh the geolocation data


See also

All Component Classes

Technical Reference

  • No labels