Click or drag to resize
Point Class
Print this page
Represents a location, speed, status and heading at a given instant in time.
Inheritance Hierarchy

Namespace: Telogis.API
public class Point

The Point type exposes the following members.

Public fieldAddress
The street address representing the location at which the point was recorded. You could also ReverseGeocode(LatLon) the LatLon to obtain an address.
Public fieldData
Any additional (typically vehicle diagnostic) information reported by the device at the time this point was recorded.
Public fieldGpsQuality
The quality of the GPS fix when this point was recorded.
Public fieldHeading
Direction of travel measured in degrees clockwise from north (0).
Public fieldInputs
An array of InputValue objects describing the state of the DeviceInput s.
Public fieldLatLon
The location of the unit when this point was recorded.
Public fieldMarker
If this point was recorded at a marker, this field will be set to the marker. Otherwise, null.
Public fieldSpeed
Speed (in miles per hour).
Public fieldStatus
The status of the unit. For example "Moving" or "Stopped". See UnitStatus for a complete list of possible status values.
Public fieldTimestamp
The time at which this point was recorded.
Public fieldUnitID
ID of the Unit which this point is recorded from.

Point objects are typically used to record the history of drivers, fleets and units. See GetDriverHistory(Int64, DateTime, DateTime) , GetFleetHistory(Int64, DateTime, DateTime) and GetUnitHistory(Int64, DateTime, DateTime) methods.


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);
See Also