Unit Locations
Update unit locations for the live map.
Rate Limits
Websocket API
Authentication Method
Method:
unitLocationParameters:
Parameter
Type
Structure unitLocationObject
{
apiId: "SOME_API_ID",
location: "US-101 / Exit 15",
coordinates: { x: 123.45, y: 678.9, z: 21.0, w: 180.0 },
peerId: "bodycam-1-123", // Used only for P2P bodycam streams
vehicle: {
model: 'https://example.com/model.obj', // S3 URL to a 3D map object
zOffset: 0, // Offset model Z (height) on map
lightZOffset: 0, // Offset light effect Z (height) on map
sizeOffset: 0, // Increase/Decrease Size
headingOffset: 0, // Offset heading direction for 3D model
lights: false // Show emergency lights flashing on model
}
}Response
Success
Error
Unit Location JS example (Node.js):
Last updated
Was this helpful?

