NmeaLocationDataSource

constructor(receiverSpatialReference: SpatialReference = SpatialReference(4_326, 115_700), outputSpatialReference: SpatialReference? = null, outputDatumTransformation: DatumTransformation? = null)

Creates an NMEA data source object.

Locations created from an NMEA data source object instantiated with this constructor will be projected from the SpatialReference defined by the receiverSpatialReference parameter to the SpatialReference defined by the outputSpatialReference parameter using the outputDatumTransformation. If the outputSpatialReference parameter is null the locations will not be projected and the locations will be in the receiverSpatialReference, if the outputDatumTransformation parameter is set it will be ignored.

Since

200.1.0

Parameters

receiverSpatialReference

spatial reference of locations encoded in the pushed NMEA data. By default this will be WGS84 for its horizontal (WKID=4326) and vertical reference systems (WKID=115700)

outputSpatialReference

spatial reference of NmeaLocations emitted by this data source. If null, will be the same as receiverSpatialReference

outputDatumTransformation

transformation for converting receiver spatial reference locations to output spatial reference locations