User Tools

Site Tools


thinkgeo.mapsuite.routing.routinglayer

ThinkGeo.MapSuite.Routing.RoutingLayer

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This layer can show start coordinates, end coordinates, a collection of in-between stops and the resulting paths with specified styles.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.Layer
      • ThinkGeo.MapSuite.Routing.RoutingLayer

Members Summary

Public Constructors

RoutingLayer()

  • This is a constructor for the class.
Remarks
  • This is the default constructor. If you use this constructor, then you should set the Routes property manually.
Parameters

RoutingLayer(PointShape,PointShape,IEnumerable<PointShape>)

  • This is a constructor for the class.
Remarks
  • This constructor gets the points ready to use.
Parameters
  • startPoint
    • Description:This parameter represents the startPoint that you want to use in this class.
  • endPoint
    • Description:This parameter represents the endPoint that you want to use in this class.
  • stopPoints
    • Type:IEnumerable<PointShape>
    • Description:This parameter represents the stopPoints that you want to use in this class.

RoutingLayer(IEnumerable<LineShape>)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Parameters
  • routes
    • Type:IEnumerable<LineShape>
    • Description:N/A

RoutingLayer(PointShape,PointShape,IEnumerable<PointShape>,IEnumerable<LineShape>)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Parameters
  • stopPoints
  • routes
    • Type:IEnumerable<LineShape>
    • Description:N/A

Protected Constructors

Public Methods

RequestDrawing()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#RequestDrawing.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

RequestDrawing(RectangleShape)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#RequestDrawing.28RectangleShape.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

RequestDrawing(IEnumerable<RectangleShape>)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters

RequestDrawing(TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#RequestDrawing.28TimeSpan.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

RequestDrawing(TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

RequestDrawing(RectangleShape,TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#RequestDrawing.28RectangleShape.2C_TimeSpan.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

RequestDrawing(IEnumerable<RectangleShape>,TimeSpan)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

RequestDrawing(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • bufferTime
    • Type:TimeSpan
    • Description:N/A

GetThreadSafetyLevel()

  • N/A
Remarks
  • N/A
Return Value
Parameters

CloneDeep()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#CloneDeep.28.29
Return Value
  • Type:Layer
  • Description:N/A
Parameters

Open()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#Open.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Close()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#Close.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetBoundingBox()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#GetBoundingBox.28.29
Return Value
Parameters

Draw(GeoCanvas,Collection<SimpleCandidate>)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:
Return Value
  • Type:Void
  • Description:N/A
Parameters

ToString()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#ToString.28.29
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#Equals.28Object.29
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#GetHashCode.28.29
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#GetType.28.29
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

DrawCore(GeoCanvas,Collection<SimpleCandidate>)

  • This method will draw the routing result based on the specified styles.
Remarks
  • This abstract method is called from the concrete public method Draw. This method draws the representation of the layer based on the extent you provided. When implementing this abstract method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • canvas
    • Type:GeoCanvas
    • Description:This parameter is the canvas object or a GeoImage to draw on.
  • labelsInAllLayers
    • Type:Collection<SimpleCandidate>
    • Description:This parameter represents the labels used for collision detection and duplication checking.

OnRequestedDrawing(RequestedDrawingLayerEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#OnRequestedDrawing.28RequestedDrawingLayerEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnRequestingDrawing(RequestingDrawingLayerEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#OnRequestingDrawing.28RequestingDrawingLayerEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetThreadSafetyLevelCore()

  • N/A
Remarks
  • N/A
Return Value
Parameters

CloneDeepCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#CloneDeepCore.28.29
Return Value
  • Type:Layer
  • Description:N/A
Parameters

OpenCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#OpenCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

CloseCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#CloseCore.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetBoundingBoxCore()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#GetBoundingBoxCore.28.29
Return Value
Parameters

DrawException(GeoCanvas,Exception)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#DrawException.28GeoCanvas.2C_Exception.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:Exception
    • Description:N/A

DrawExceptionCore(GeoCanvas,Exception)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#DrawExceptionCore.28GeoCanvas.2C_Exception.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:Exception
    • Description:N/A

OnDrawingException(DrawingExceptionLayerEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#OnDrawingException.28DrawingExceptionLayerEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnException(DrawnExceptionLayerEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#OnDrawnException.28DrawnExceptionLayerEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawAttributionCore(GeoCanvas,String)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#DrawAttributionCore.28GeoCanvas.2C_String.29
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • attribution
    • Type:String
    • Description:N/A

OnDrawingAttribution(DrawingAttributionLayerEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#OnDrawingAttribution.28DrawingAttributionLayerEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawnAttribution(DrawnAttributionLayerEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#OnDrawnAttribution.28DrawnAttributionLayerEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#OnDrawingProgressChanged.28DrawingProgressChangedEventArgs.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

Finalize()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#Finalize.28.29
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • For the most updated Info for this topic, please check it here:http:wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#MemberwiseClone.28.29
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

XOffsetInPixelOfStopOrder

Gets or sets the x offset (in pixels) of the stop order.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#XOffsetInPixelOfStopOrder

Return Value
  • Type:Single

YOffsetInPixelOfStopOrder

Gets or sets the y offset (in pixels) of the stop order.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#YOffsetInPixelOfStopOrder

Return Value
  • Type:Single

Routes

Gets the result path information for routing.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#Routes

Return Value

StartPoint

Gets and sets the start coordinates for routing.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#StartPoint

Return Value

EndPoint

Gets and sets the end coordinates for routing.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#EndPoint

Return Value

StopPoints

Gets a collection that holds the stop coordinates between StartPoint and EndPoint for routing.

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#StopPoints

Return Value

StartPointStyle

Gets and sets the style of StartPoint.

Remarks

If this property is not set, the default style is a small green marker representing the route start point.

Return Value

EndPointStyle

Gets and sets the style of EndPoint.

Remarks

If this property is not set, the default style is a small red marker representing the route end point.

Return Value

StopPointStyle

Gets and sets the style of StopPoints.

Remarks

If this property is not set, the default style is a small yellow marker representing a stop.

Return Value

StopTextStyle

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#StopTextStyle

Return Value

RouteStyle

Gets and sets the style of Routes.

Remarks

If this property is not set, the default style is a purple pen with semitransparent color.

Return Value

ShowStopOrder

Gets and sets the value that represents whether to show the ordinal number of each of the StopPoints when drawing layer. The default value is true.

Remarks

If this property is set to false, the text representing the sequence number of each stop will not be shown. This is ensured in the Draw method.

Return Value
  • Type:Boolean

RequestDrawingInterval

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#RequestDrawingInterval

Return Value
  • Type:TimeSpan

IsOpen

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#IsOpen

Return Value
  • Type:Boolean

HasBoundingBox

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#HasBoundingBox

Return Value
  • Type:Boolean

DrawingTime

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#DrawingTime

Return Value
  • Type:TimeSpan

Name

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#Name

Return Value
  • Type:String

Attribution

N/A

Remarks
Return Value
  • Type:String

IsVisible

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#IsVisible

Return Value
  • Type:Boolean

Transparency

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#Transparency

Return Value
  • Type:Single

BlueTranslation

N/A

Remarks

For the most updated Info for this topic, please check it here:

Return Value
  • Type:Single

RedTranslation

N/A

Remarks

For the most updated Info for this topic, please check it here:

Return Value
  • Type:Single

GreenTranslation

N/A

Remarks

For the most updated Info for this topic, please check it here:

Return Value
  • Type:Single

KeyColors

N/A

Remarks

For the most updated Info for this topic, please check it here:

Return Value

IsNegative

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#IsNegative

Return Value
  • Type:Boolean

IsGrayscale

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#IsGrayscale

Return Value
  • Type:Boolean

DrawingExceptionMode

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#DrawingExceptionMode

Return Value

Protected Properties

IsOpenCore

N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#IsOpenCore

Return Value
  • Type:Boolean

Public Events

RequestedDrawing N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#OnRequestedDrawing.28RequestedDrawingLayerEventArgs.29

Event Arguments:RequestedDrawingLayerEventArgs

RequestingDrawing N/A

Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#OnRequestingDrawing.28RequestingDrawingLayerEventArgs.29

Event Arguments:RequestingDrawingLayerEventArgs

DrawingProgressChanged N/A

Remarks
Remarks
Remarks

For the most updated Info for this topic, please check it here:http://wiki.thinkgeo.com/wiki/ThinkGeo.MapSuite.Routing.RoutingLayer#OnDrawnException.28DrawnExceptionLayerEventArgs.29

Event Arguments:DrawnExceptionLayerEventArgs

DrawingAttribution N/A

Remarks
Remarks
thinkgeo.mapsuite.routing.routinglayer.txt · Last modified: 2017/03/16 21:59 (external edit)