Class LocationEvent
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
io.jmix.mapsui.widget.leaflet.client.LocationEvent
public class LocationEvent
extends com.google.gwt.core.client.JavaScriptObject
latlng LatLng Detected geographical location of the user.
bounds LatLngBounds Geographical bounds of the area user is located in (with respect to the accuracy of location).
accuracy Number Accuracy of location in meters.
altitude Number Height of the position above the WGS84 ellipsoid in meters.
altitudeAccuracy Number Accuracy of altitude in meters.
heading Number The direction of travel in degrees counting clockwise from true North.
speed Number Current velocity in meters per second.
timestamp Number The time when the position was acquired.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal double
final double
final double
final LatLng
final LatLngBounds
final double
getSpeed()
final double
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
LocationEvent
protected LocationEvent()
-
-
Method Details
-
getLatLng
-
getLatLngBounds
-
getAccuracy
public final double getAccuracy() -
getAltitude
public final double getAltitude() -
getHeading
public final double getHeading() -
getSpeed
public final double getSpeed() -
getTimestamp
public final double getTimestamp()
-