Point Class |
Namespace: Telogis.API
The Point type exposes the following members.
Name | Description | |
---|---|---|
Address |
The street address representing the location at which the point was recorded. You could
also
ReverseGeocode(LatLon)
the
LatLon
to obtain an
address.
| |
Data |
Any additional (typically vehicle diagnostic) information reported by the device
at the time this point was recorded.
| |
GpsQuality |
The quality of the GPS fix when this point was recorded.
| |
Heading |
Direction of travel measured in degrees clockwise from north (0).
| |
Inputs | ||
LatLon |
The location of the unit when this point was recorded.
| |
Marker |
If this point was recorded at a marker, this field will be set to the marker.
Otherwise, null.
| |
Speed |
Speed (in miles per hour).
| |
Status |
The status of the unit. For example "Moving" or "Stopped". See
UnitStatus
for a complete list of possible status values.
| |
Timestamp |
The time at which this point was recorded.
| |
UnitID |
ID of the
Unit
which this point is recorded from.
|
The following example queries a unit's history and displays the time, status, speed and location of the unit over the past 12 hours.
Point[] points = service.GetUnitHistory(unitID, DateTime.Now.AddHours(-12), DateTime.Now); foreach (Point p in points) { Console.WriteLine("Point {0} {1}\t{2}mph", p.Timestamp, p.Status, p.Speed); }