DistanceIntervalNotification Class |
Namespace: Telogis.GeoBase.Navigation
The DistanceIntervalNotification type exposes the following members.
Name | Description | |
---|---|---|
DistanceIntervalNotification |
Creates a new notification that is called every time a given distance is traveled.
|
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 |
This notification should never be raised in navigation mode.
(Overrides NotificationShouldRaise(NavigationEvent, Position, LatLon, DistanceMeter).) | |
ShouldRaiseMapFollow |
Checks if this notification should be raised in map follow mode for the provided position.
(Overrides NotificationShouldRaiseMapFollow(Position, LatLon).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
This notification behaves identically in map follow and routing mode.
See NotificationDelegate for an example on how notifications may be used.
Related articles: Using Notifications and Events.
DistanceIntervalNotification notify = new DistanceIntervalNotification(10, DistanceUnit.Meters, MyHandler);