Click or drag to resize

AfterTurnDistanceNotification Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A Notification that will trigger once per NavigationEvent, at the specified distance after a turn.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase.Navigation
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public class AfterTurnDistanceNotification : DistanceNotification

The AfterTurnDistanceNotification type exposes the following members.

Constructors
  NameDescription
Public methodAfterTurnDistanceNotification(NotificationDelegate)
Creates a notification that occurs at every turn.
Public methodAfterTurnDistanceNotification(Double, DistanceUnit, NotificationDelegate)
Creates a notification that occurs a given distance after any turn.
Top
Properties
  NameDescription
Public propertyHandler
Gets the event handler.
(Inherited from Notification.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodShouldRaise
Checks if this notification should be raised in navigation mode.
(Overrides NotificationShouldRaise(NavigationEvent, Position, LatLon, DistanceMeter).)
Public methodShouldRaiseMapFollow
This notification is not raised in map follow mode.
(Overrides NotificationShouldRaiseMapFollow(Position, LatLon).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

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.

Examples
Constructing an AfterTurnDistanceNotification that is called 10 meters after any turn:
AfterTurnDistanceNotification notify = new AfterTurnDistanceNotification(10, DistanceUnit.Meters, MyHandler);
See Also