Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LeafletLocationEvent

Hierarchy

Index

Properties

accuracy

accuracy: number

Accuracy of location in meters.

altitude

altitude: number

Height of the position above the WGS84 ellipsoid in meters.

altitudeAccuracy

altitudeAccuracy: number

Accuracy of altitude in meters.

bounds

bounds: LatLngBounds

Geographical bounds of the area user is located in (with respect to the accuracy of location).

heading

heading: number

The direction of travel in degrees counting clockwise from true North.

latlng

latlng: LatLng

Detected geographical location of the user.

speed

speed: number

Current velocity in meters per second.

target

target: any

The object that fired the event.

timestamp

timestamp: number

The time when the position was acquired.

type

type: string

The event type (e.g. 'click').