@JsType(isNative=true, name="Object", namespace="<global>") public class LocationEvent extends Event
Modifier and Type | Method and Description |
---|---|
double |
getAccuracy()
Gets the accuracy of location in meters.
|
double |
getAltitude()
Gets the height of the position above the WGS84 ellipsoid in meters.
|
double |
getAltitudeAccuracy()
Gets the accuracy of the altitude in meters.
|
LatLngBounds |
getBounds()
Gets the geographical bounds of the area user is located in (with respect to the accuracy of location).
|
double |
getHeading()
Gets the direction of travel in degrees counting clockwise from true North.
|
LatLng |
getLatlng()
Gets the detected geographical location of the user.
|
double |
getSpeed()
Gets the current velocity in meters per second.
|
double |
getTimestamp()
Gets the time when the position was acquired.
|
@JsProperty public final LatLng getLatlng()
@JsProperty public final LatLngBounds getBounds()
@JsProperty public final double getAccuracy()
@JsProperty public final double getAltitude()
@JsProperty public final double getAltitudeAccuracy()
@JsProperty public final double getHeading()
@JsProperty public final double getSpeed()
@JsProperty public final double getTimestamp()
Copyright © 2018 G-Widgets. All rights reserved.