Click or drag to resize

BeforeTurnDistanceNotification 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, as long as it is queried between its earliest and latest distances.
Inheritance Hierarchy

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

The BeforeTurnDistanceNotification type exposes the following members.

Constructors
  NameDescription
Public methodBeforeTurnDistanceNotification
Creates a new notification that triggers when the user is in a defined distance window from the next 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 a TurnBox.

Examples
Constructing a BeforeTurnDistanceNotification that is called whenever the user is less than 1000 meters but more than 500 meters from their next turn:
BeforeTurnDistanceNotification notify = new BeforeTurnDistanceNotification(1000, 500, DistanceUnit.Meters, MyHandler);
See Also