@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public class Coordinates
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Coordinates() |
| Modifier and Type | Method and Description |
|---|---|
double |
accuracy()
The GeolocationCoordinates.accuracy read-only property is a strictly positive double representing the accuracy, with a 95% confidence level, of the GeolocationCoordinates.latitude and GeolocationCoordinates.longitude properties expressed in meters.
|
java.lang.Double |
altitude()
The GeolocationCoordinates.altitude read-only property is a double representing the altitude of the position in meters above the WGS84 ellipsoid (which defines the nominal sea level surface).
|
java.lang.Double |
altitudeAccuracy()
The GeolocationCoordinates.altitudeAccuracy read-only property is a strictly positive double representing the accuracy, with a 95% confidence level, of the altitude expressed in meters.
|
java.lang.Double |
heading()
The GeolocationCoordinates.heading read-only property is a double representing the direction in which the device is traveling.
|
double |
latitude()
The GeolocationCoordinates.latitude read-only property is a double representing the latitude of the position in decimal degrees.
|
double |
longitude()
The GeolocationCoordinates interface's read-only longitude property is a double-precision floating point value which represents the longitude of a geographical position, specified in decimal degrees.
|
java.lang.Double |
speed()
The GeolocationCoordinates.speed read-only property is a double representing the velocity of the device in meters per second.
|
@JsProperty(name="accuracy") public double accuracy()
@JsProperty(name="altitude") @Nullable public java.lang.Double altitude()
@JsProperty(name="altitudeAccuracy") @Nullable public java.lang.Double altitudeAccuracy()
@JsProperty(name="heading") @Nullable public java.lang.Double heading()
@JsProperty(name="latitude") public double latitude()
@JsProperty(name="longitude") public double longitude()
@JsProperty(name="speed") @Nullable public java.lang.Double speed()