BeforeTurnDistanceNotification Class |
Namespace: Telogis.GeoBase.Navigation
The BeforeTurnDistanceNotification type exposes the following members.
Name | Description | |
---|---|---|
BeforeTurnDistanceNotification |
Creates a new notification that triggers when the user is in a defined distance window
from the next 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 a TurnBox.
BeforeTurnDistanceNotification notify = new BeforeTurnDistanceNotification(1000, 500, DistanceUnit.Meters, MyHandler);