api.geoservicepr.com is here!

Get device location

Retrieves a device's last known location by its serial number.

Search for device

Help

Overview
This example makes two API requests for the vehicle and location and displays it on a map.

Work flow
To retrieve the current location of a vehicle, we first look up the vehicle by its serial number. When the API response returns our vehicle properties, we use that responses callback to retrieve the DeviceStatusInfo object which contains the current location. With this data, a location marker is added to the map.

Skill level
Intermediate