@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public class Position
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Position() |
| Modifier and Type | Method and Description |
|---|---|
Coordinates |
coords()
The GeolocationPosition.coords read-only property returns a GeolocationCoordinates object representing a geographic position.
|
int |
timestamp()
The GeolocationPosition.timestamp read-only property returns a DOMTimeStamp object, represents the date and the time of the creation of the GeolocationPosition object it belongs to.
|
@JsProperty(name="coords") @Nonnull public Coordinates coords()
@JsProperty(name="timestamp") public int timestamp()