RouteStop Class | ![]() |
Namespace: Telogis.GeoBase
The RouteStop type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | RouteStop(LatLon) |
Create a RouteStop at the given LatLon location.
|
![]() ![]() | RouteStop(Double, Double) |
Creates a RouteStop at the given latitude and longitude coordinates.
|
Name | Description | |
---|---|---|
![]() | Approaches |
List of AccessPaths that can be used to approach this route stop.
|
![]() | AverageTime |
Average time spent at this stop.
|
![]() | Departures |
List of AccessPaths that can be used to depart from this route stop.
|
![]() | Description |
Description of the stop. See remarks.
|
![]() | DrawHandle |
Set to true to display a handle on the RouteStop icon. The handle allows the
user to rotate the heading of the stop.
|
![]() | End |
If true this stop is the end point for the route.
See Start for more details.
|
![]() | Heading |
The heading for this route stop. This value will be used to choose which street this
RouteStop belongs on - GeoBase will try to route to a street that is aligned with
this heading. For example, this can be used to avoid accidentally routing from a
cross street. If this value is float.NaN, then this behavior will be ignored.
|
![]() | IconNumber |
Sets the type of icon displayed for the stop.
|
![]() | IdlePenalty |
Used to specify a penalty for the idle time. When set, this value is
used as the penalty for a TooEarly violation during Route Optimization i.e., the
waiting time at the stop.
|
![]() | IgnitionOn | Obsolete.
Whether the unit's ignition was on when it was at this stop in the
route history. Used when calculating a route highlight.
|
![]() | Location |
Location of the stop point, as a LatLon.
|
![]() | MapMouseEventsHandler |
Gets the MapMouseEventsHandler for this RouteStop.
|
![]() | Penalty |
Represents a penalty incurred for missing the alloted window. The penalty must be
greater than or equal to zero. A value of -1 indicates that the penalty has not been set.
|
![]() ![]() | RenderBrush |
A Brush used to color this stop.
|
![]() | RenderSize |
Gets the render Size used for this stop.
|
![]() | RequiredRendermodes |
Gets the RenderMode required by this RouteStop.
|
![]() | RoadIntersection |
Point where you enter or exit the street network to get to this stop.
|
![]() | Speed |
Gets or sets the speed when at or passing the RouteStop.
|
![]() | Start |
If true this stop is the start point for the route.
|
![]() | StopNumber |
The Number of this stop. Set by the routing engine.
|
![]() | Tag |
For external use - set to whatever you like.
|
![]() | TimeSincePreviousStop |
Time in seconds since the unit was at the previous stop in the
route history. Used when calculating a route highlight. If this
value is too small, the routing engine will fail to query
an area that is sufficiently large in size.
|
![]() | WindowEnd |
Latest delivery time.
|
![]() | WindowStart |
Earliest delivery time.
|
Name | Description | |
---|---|---|
![]() | Clone |
Used to create an identical instance (clone) of a RouteStop.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | EqualsIgnoreStopNumber |
Indicates whether the specified RouteStop is equal to the current RouteStop, excluding its StopNumber property.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HitTest(Point, IMap) |
Perform a HitTest(Int32, Int32, IMap).
|
![]() | HitTest(Int32, Int32, IMap) |
Perform a HitTest(Int32, Int32, IMap).
|
![]() | Render |
Render this RouteStop.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | DontLoadBefore | Obsolete.
Array of stops whose load must not be loaded before this stop.
Not yet implemented.
|
![]() | IncompatibleLoads | Obsolete.
Array of stops whose loads should not be carried with the load for this stop.
Dynamite shouldn't be with matches. Not yet implemented.
|
![]() | Load | Obsolete.
Quantity of goods to be delivered (or collected). Not yet implemented.
|
![]() | SkillsRequired | Obsolete.
Specific 'skills' that this stop requires. Must match a bit in the vehicle skills map.
Not yet implemented.
|
Related articles: Routing Concept, Map Control Tutorial, Creating a Route, Delivery Time Windows, Routing with Traffic.
RouteStop rs = new RouteStop(new LatLon(33.584444,-117.731874)); // ^^ creates a new routestop at Telogis HQ rs.Description = "Telogis HQ"; // ^^ sets description field, so if used as a destination the directions // will read similar to: "Telogis HQ is on the left 50 yards after Beach Street"