AfterTurnDistanceNotification Class |
Namespace: Telogis.GeoBase.Navigation
The AfterTurnDistanceNotification type exposes the following members.
Name | Description | |
---|---|---|
AfterTurnDistanceNotification(NotificationDelegate) |
Creates a notification that occurs at every turn.
| |
AfterTurnDistanceNotification(Double, DistanceUnit, NotificationDelegate) |
Creates a notification that occurs a given distance after any turn.
|
Name | Description | |
---|---|---|
Handler |
Gets the event handler.
(Inherited from Notification.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ShouldRaise |
Checks if this notification should be raised in navigation mode.
(Overrides NotificationShouldRaise(NavigationEvent, Position, LatLon, DistanceMeter).) | |
ShouldRaiseMapFollow |
This notification is not raised in map follow mode.
(Overrides NotificationShouldRaiseMapFollow(Position, LatLon).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
This notification will never trigger when in map follow mode.
See NotificationDelegate for an example on how notifications may be used.
Related articles: Using Notifications and Events, Using a TurnBox.
AfterTurnDistanceNotification notify = new AfterTurnDistanceNotification(10, DistanceUnit.Meters, MyHandler);