angular_ts/geolocation

Types

Plain location snapshot written by the AngularTS geolocation directive.

pub type GeolocationValue =
  @internal GeolocationValue

Values

pub fn accuracy(value: GeolocationValue) -> Float
pub fn altitude(value: GeolocationValue) -> option.Option(Float)
pub fn altitude_accuracy(
  value: GeolocationValue,
) -> option.Option(Float)
pub fn from_dynamic(value: dynamic.Dynamic) -> GeolocationValue

Treats a dynamic AngularTS model value as a geolocation snapshot.

pub fn heading(value: GeolocationValue) -> option.Option(Float)
pub fn latitude(value: GeolocationValue) -> Float
pub fn longitude(value: GeolocationValue) -> Float
pub fn speed(value: GeolocationValue) -> option.Option(Float)
pub fn timestamp(value: GeolocationValue) -> Float
Search Document