implicit final class SaferCoordinates extends AnyVal
- See also
https://dev.w3.org/geo/api/spec-source.html#coordinates
- Alphabetic
- By Inheritance
- SaferCoordinates
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SaferCoordinates(value: raw.Coordinates)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
altitude: Option[Double]
The Coordinates.altitude read-only property is a double representing the altitude of the position in meters, relative to sea level.
The Coordinates.altitude read-only property is a double representing the altitude of the position in meters, relative to sea level. This value is null if the implementation cannot provide this data.
MDN
-
def
altitudeAccuracy: Option[Double]
The Coordinates.altitudeAccuracy read-only property is a strictly positive double representing the accuracy, with a 95% confidence level, of the altitude expressed in meters.
The Coordinates.altitudeAccuracy read-only property is a strictly positive double representing the accuracy, with a 95% confidence level, of the altitude expressed in meters. This value is null if the implementation doesn't support measuring altitude.
MDN
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
heading: Option[Double]
The Coordinates.heading read-only property is a double representing the direction in which the device is traveling.
The Coordinates.heading read-only property is a double representing the direction in which the device is traveling. This value, specified in degrees, indicates how far off from heading due north the device is. 0 degrees represents true true north, and the direction is determined clockwise (which means that east is 90 degrees and west is 270 degrees). If Coordinates.speed is 0, heading is NaN. If the device is not able to provide heading information, this value is null.
MDN
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
speed: Option[Double]
The Coordinates.speed read-only property is a double representing the velocity of the device in meters per second.
The Coordinates.speed read-only property is a double representing the velocity of the device in meters per second. This value is null if the implementation is not able to measure it.
MDN
-
def
toString(): String
- Definition Classes
- Any
- val value: raw.Coordinates