Location
Wisej.Hybrid.Shared.Geolocation.Location
Last updated
Wisej.Hybrid.Shared.Geolocation.Location
Last updated
Namespace: Wisej.Hybrid.Shared.Geolocation
Assembly: Wisej.Hybrid (3.5.0.0)
Represents a physical location with the latitude, longitude, altitude and time information reported by the device.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified latitude and longitude.
latitude
Default latitude for location.
longitude
Default longitude for location.
Initializes a new instance of the class with the specified latitude, longitude, and timestamp.
latitude
Default latitude for location.
longitude
Default longitude for location.
timestamp
UTC timestamp for the location.
latitude
Default latitude for location.
longitude
Default longitude for location.
altitude
Default altitude for location.
point
Throws:
Returns 0 or if not available.
Returns 0 or if not available.
This functionality only applies to iOS. Other platforms will always report false.
Calculate distance between two locations.
latitudeStart
Latitude coordinate of the starting location.
longitudeStart
Longitude coordinate of the starting location.
locationEnd
The end location.
units
The unit in which the result distance is returned.
Calculate distance between two locations.
locationStart
The start location.
latitudeEnd
Latitude coordinate of the end location.
longitudeEnd
Longitude coordinate of the end location.
units
The unit in which the result distance is returned.
Calculate distance between two locations.
locationStart
The start location.
locationEnd
The end location.
units
The unit in which the result distance is returned.
latitudeStart
Latitude coordinate of the starting location.
longitudeStart
Longitude coordinate of the starting location.
latitudeEnd
Latitude coordinate of the end location.
longitudeEnd
Longitude coordinate of the end location.
units
The unit in which the result distance is returned.
Initializes a new instance of the class with the specified latitude, longitude, and altitude.
Initializes a new instance of the class from an existing instance.
A instance that will be used to clone.
Thrown if point is .
: Gets or sets the horizontal accuracy (in meters) of the location.
: Gets the altitude in meters (if available) in a reference system which is specified by .
: Specifies the reference system in which the value is expressed.
: Gets or sets the current degrees relative to true north at the time when this location was determined.
: Gets or sets whether this location originates from a mocked sensor and thus might not be the real location of the device.
: Gets or sets the latitude coordinate of this location.
: Gets or sets the longitude coordinate of this location.
: Gets or sets whether this location has a reduced accuracy reading.
: Gets or sets the current speed in meters per second at the time when this location was determined.
Returns 0 or if not available. Otherwise the value will range between 0-360. Requires to be or better.
: Gets or sets the timestamp of the location in UTC.
: Gets or sets the vertical accuracy (in meters) of the location.
Returns: . Distance between two locations in the unit selected.
Returns: . Distance between two locations in the unit selected.
Returns: . Distance between two locations in the unit selected.
Calculate distance between two instances.
Returns: . Distance between two locations in the unit selected.