OffsetLngLat
This command is used to help set the GPS latitude and longitude. The latitude and longitude passed in will be used internally to calculate the offset needed to adjust your current GPS position to be at the provided latitude and longitude. The reason an offset is needed is so that RFgen can mathematically scale the positioning of the reference point on a map image you provided.
Group: Device Extensions
Syntax Device.OffsetLngLat(dNewLng, dNewLat)
Parameter | Description |
---|---|
dNewLng | The longitude of the device's current location. |
dNewLat | The latitude of the device's current location. |
Example>
'If showing the location of RFgen in El Dorado Hills
Device.OffsetLngLat(-121.05474, 38.62096)
Versions Supported: …RFgen 5.2.4.6 and newer.