at one point in time i created something that was a simulator for this.
Basically I created:
1. a geofence
3. a Timer
4. each time the timer finished, i would increment lat/long randomly by like .001 or something
then based on some other rules i would either turn them on or off and keep them within the geofence
Thanks for your reply and I was thinking along the same lines but how did you make sure that the cars were reasonable moving in the coordinates of a particular road or something like that while you were incrementing the lat/long?As in, it didn't show the car moving in a jungle or a water body? I understand that while simulating we always take rough estimate but the water and jungle thing etc. could affect the data.
Also for eg: if my output variable for location is me.Location and the datatype is location then what exactly should be the syntax to provide this variable with the values of Lat/long so that it shows up on map and datatables in the correct format?