@JsType public class LocationEvent extends Event
Modifier and Type | Method and Description |
---|---|
java.lang.Number |
getAccuracy()
Gets the accuracy of location in meters.
|
java.lang.Number |
getAltitude()
Gets the height of the position above the WGS84 ellipsoid in meters.
|
java.lang.Number |
getAltitudeAccuracy()
Gets the accuracy of the altitude in meters.
|
com.gwidgets.api.leaflet.LatLngBounds |
getBounds()
Gets the geographical bounds of the area user is located in (with respect to the accuracy of location).
|
java.lang.Number |
getHeading()
Gets the direction of travel in degrees counting clockwise from true North.
|
com.gwidgets.api.leaflet.LatLng |
getLatlng()
Gets the detected geographical location of the user.
|
java.lang.Number |
getSpeed()
Gets the current velocity in meters per second.
|
java.lang.Number |
getTimestamp()
Gets the time when the position was acquired.
|
public final com.gwidgets.api.leaflet.LatLng getLatlng()
public final com.gwidgets.api.leaflet.LatLngBounds getBounds()
public final java.lang.Number getAccuracy()
public final java.lang.Number getAltitude()
public final java.lang.Number getAltitudeAccuracy()
public final java.lang.Number getHeading()
public final java.lang.Number getSpeed()
public final java.lang.Number getTimestamp()