set node position precision from position packet
This commit is contained in:
@ -826,6 +826,7 @@ client.on("message", async (topic, message) => {
|
|||||||
latitude: position.latitudeI,
|
latitude: position.latitudeI,
|
||||||
longitude: position.longitudeI,
|
longitude: position.longitudeI,
|
||||||
altitude: position.altitude !== 0 ? position.altitude : null,
|
altitude: position.altitude !== 0 ? position.altitude : null,
|
||||||
|
position_precision: position.precisionBits,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Reference in New Issue
Block a user