Click or drag to resize

Directions Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A driving route through a number of stops.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.RoutingDirections

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public class Directions : IMapRenderer, IList, 
	ICollection, IEnumerable, IList<Direction>, ICollection<Direction>, 
	IEnumerable<Direction>

The Directions type exposes the following members.

Constructors
  NameDescription
Public methodDirections
Initialize a new Directions object.
Public methodDirections(MessagesBundle)
Initializes a new instance of the Directions class
Top
Properties
  NameDescription
Public propertyCount
Returns the number of Directions.
Public propertyIsFixedSize
Returns whether this collection is a fixed size. Always returns true.
Public propertyIsReadOnly
Gets whether this collection is read-only or not. Always true.
Public propertyIsSynchronized
Returns whether this collection is synchronized.
Public propertyItem
Gets the Direction for the specified index.
Public propertyMessagesBundle
Provides access to messages (for example strings and announcements) for a single culture.
Public propertyPoints
Gets an array of LatLons representing the entire driving route. These points may differ from the concatenation of the points on individual direction objects.
Public propertyRemote
Whether these directions were generated by a GeoStream server.
Public propertyRenderArrowColor
Sets the color of the route arrow.
Public propertyRenderArrowLength
The pixel length of the arrows that appear on the route. Set to zero to disable arrows.
Public propertyRenderArrowSpacing
The minimum distance between route arrows in pixels.
Public propertyRenderArrowWidth
The width of the arrow in pixels.
Public propertyRenderColor
Sets the Color to render the route in.
Public propertyRenderPen
The Pen normally used to render the route.
Public propertyRenderPenSmall
The Pen used to render the route when the map is zoomed out
Public propertyRequiredRendermodes
Gets the RenderMode required by this Directions.
Public propertySelected
Gets or sets the currently selected Direction. The current selection is the one that will be rendered on the map.
Public propertySelectedIndex
Gets or sets the current Direction by its index value in the list. See remarks.
Public propertySyncRoot
Gets an object that can be used to synchronize access to this object. See SyncRoot.
Public propertyUnits
The UnitSystem that is to be used in these directions. The value is used by the read-only UnitsEffectiveValue. If Units is not set by the application, then UnitsEffectiveValue is taken from the global settings field Units. The global default is imperial yards.
Public propertyUnitsEffectiveValue
The UnitSystem used in these directions. If Units is not set in the application, then UnitsEffectiveValue is taken from the global settings field Units. The global default is imperial yards.
Public propertyViolations
Contains a list of all constraint violations in the directions.
Top
Methods
  NameDescription
Public methodAdd(Direction)
Not supported in this class.
Public methodAdd(Object)
Not supported in this class.
Public methodAddTag
Insert a customized object somewhere along the route. For example a simple string comment could be added.
Public methodClear
Not supported in this class.
Public methodContains(Direction)
Gets whether or not these Directions contain the specified object.
Public methodContains(Object)
Gets whether or not these Directions contain the specified object.
Public methodCopyTo(Array, Int32)
Copies the contents of this collection to an array. See CopyTo(Array).
Public methodCopyTo(Direction, Int32)
Copies the contents of this collection to an array. See CopyTo(Array).
Public methodStatic memberDeserialize
Deserialize a Directions after it has previously been serialized using the Serialize method.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetDirectionLinks
Get the DirectionLinks held by this Directions object
Public methodGetEnumerator
Returns an enumerator for this collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetStopToStopDistances
Gets the travel distances between each consecutive pair of stops.
Public methodGetStopToStopTimes
Gets the travel times between each consecutive pair of stops.
Public methodGetTotalDistance
Gets the total distance for this route in the specified DistanceUnit.
Public methodGetTotalTime
Get the total time for this set of directions.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(Direction)
Gets the index of the specified object.
Public methodIndexOf(Object)
Gets the index of the specified object.
Public methodInsert(Int32, Object)
Not supported in this class.
Public methodInsert(Int32, Direction)
Not supported in this class.
Public methodRemove(Direction)
Not supported in this class.
Public methodRemove(Object)
Not supported in this class.
Public methodRemoveAt
Not supported in this class.
Public methodRender
IMapRenderer support - renders a route on the map.
Public methodSerialize
Serialize the Directions to the supplied stream. The serialized Directions can be deserialized using the Deserialize method.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodZoomTo(IMap)
Zooms the given map to this driving route.
Public methodZoomTo(IMap, Int32)

Zooms the given map to this driving route, and ensures that there is a visible buffer of buffer pixels between the edge of the route and the edge of the map.

For example, setting buffer to 10 results in a map where the edges of this driving route are 10 pixels in from the edge of the map.

Top
Remarks
See Also