Fleet Freedom
Main Site
Overview
WebSocket
JavaScript
Behaviours
Provisioning
Pictures
Reports
Events
Return to site

Geocoding for places and tasks

New Feature
new in 4.6
Wednesday, January 1, 2020
By Alex Lein

When providing a place for task creation:
If the latlng is ommitted, the latlng is replaced with the Place.anchor value. If the address is ommitted, the address is replaced with the Place.address value. When ommitting the place for task creation:
If the latlng is also ommitted, the geocoder uses the address to populate the latlng, and also replaces the address with the geocoded result. If no suitable results are found, an error is returned.
If the address is also ommitted, the geocoder uses the latlng to populate the address, but if no suitable results are found, no error is returned. When providing an address for task creation:
If both the place and latlng is ommitted, the geocoder uses the address to populate the latlng, and also replaces the address with the geocoded result. If no suitable results are found, an error is returned.
When ommitting the address for task creation:
If the latlng is provided, the geocoder uses the latlng to populate the address, but if no suitable results are found, no error is returned. If the place is provided, the address is replaced with the Place.address value. Condition: If the place is provided, the geocoder is not used for place creation. However, if the place and latlng are ommitted when creating a task, the geocoder uses the address to populate the latlng. If no suitable results are found, an error is returned. When creating a task: If the place is provided, the geocoder is not used. If the latlng is also ommitted, the geocoder uses the address to populate the latlng. If no suitable results are found, an error is returned.

  • Back to Websocket Articles
  • Full Websocket Reference
Trak iT® Wireless and Fleet Freedom® are Trademarks of Trak iT® Wireless Inc.
All content contained within this site is the property of Trak iT® Wireless unless otherwise stated.