Location Data Source
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).
The DatumTransformation to be used in the project operation. If set, this property will be used as the DatumTransformation in the call to GeometryEngine.projectOrNull(Geometry, SpatialReference, DatumTransformation). For this property to be used the NmeaLocationDataSource.outputSpatialReference also has to be set.
If set calls the GeometryEngine.projectOrNull(Geometry, SpatialReference) method to generate the output spatial reference. The projected point will be stored in NmeaLocation.position. If this property is null the NmeaLocation.position will be contain the original incoming x,y,z values from the NMEA data sentence and the NmeaLocationDataSource.receiverSpatialReference.
The SpatialReference to be assigned to the output NmeaLocation, the default is WGS84 By default this will be WGS84 for its horizontal (WKID=4326) and vertical reference systems (WKID=115700), this can be set to a different SpatialReference if a receiver returns locations in a different reference system.
An error that describes a problem encountered while starting or running the LocationDataSource. This property is used to notify the user about errors that occur in LocationDataSource. Such errors are critical for LocationDataSource and will cause it stop. If LocationDataSource cannot be started, or it stopped after a successful start, this property will store information related to what caused LocationDataSource to stop.