Racemap
Last updated
Last updated
Racemap makes the data of it's trackers available via an easy Web API. This URL is individual per event.
The data in this API contains each tracker's distance to start and from finish and many other data.
In this example, we want to fetch the distance to finish from the lead vehicle's tracker.
First we need to setup a global list with the URL provided by Racemap and name it Racemap:
In a script, we can now access the data via the Racemap.Data variable. We loop through all trackers and find tghe one matching the lead vehicle tracker id. And then fetch the toFinish property.