Provides an indoor or outdoor position based on device sensor data (radio, GPS, motion sensors). An IPS (indoor positioning system) position is calculated based on radio data and motion sensors. The GPS position is used as a fallback in case an IPS position can't be calculated, or if the IPS position reports a position outside of a building.
The location data source provides location information that can be displayed on a map using the MapView.locationDisplay. This is a base class for a number of different location data sources, such as IndoorsLocationDataSource, NmeaLocationDataSource, RouteTrackerLocationDataSource, and SimulatedLocationDataSource. Call LocationDataSource.start() to receive location updates and display the current location using the MapView.locationDisplay.
The list of NMEA fix types. Indicates the type of signal or technique being used by the GPS receiver to determine its location. For example it indicates the quality of the signal, or the accuracy and reliability of the location being reported. The fix type is determined by the receiver based on number of satellites visible, the type of GPS receiver and the GPS technology being used.
An NMEA location data source object. This object will parse specific NMEA messages pushed into it. Valid GGA, GSA, GST, GSV, RMC, VTG messages are parsed and, depending upon the message type and contents, a LocationDataSourceLocationChangedEvent or NmeaLocationDataSourceSatellitesChangedEvent may be raised. The LocationDataSourceLocationChangedEvent will return a NmeaLocation object. The NmeaLocationDataSourceSatellitesChangedEvent will return an array of NmeaSatelliteInfo objects. This data source is based on NMEA version 4.11 (November 2018).
A location data source that uses a route tracker and a generic location data source to output locations snapped to a route. Setting the RouteTrackerLocationDataSource is optional when desiring to have the location display symbol navigate along a route. Using this object provides the benefit of having the current location snapped to the route polyline during navigation. If the RouteTrackerLocationDataSource is not used, you may notice that the actual GPS location tends to wander off the route polyline due to the accuracy provided by the GPS unit.
A location data source that provides simulated device locations for testing. Use this data source to simulate location updates for a device. It uses a collection of Location that are sequentially passed to LocationDataSource.updateLocation(Location). The location collection can be derived from vertices in a provided polyline, generated evenly along a polyline based on a travel velocity, or assigned to the collection directly.
Parameters to control how locations are created from a simulated route of travel (Polyline). This can be provided as an input to the SimulatedLocationDataSource.setLocationsWithPolyline(Polyline, SimulationParameters) method to specify the start time for the first location, travel velocity (meters per second), and horizontal and vertical accuracy of locations.