FlowMap Object

 

The FlowMap object contains the properties of a Flow Map. Flow maps are created with the CreateFlowMap method of the PlotDocument object.

 

Derived from: Map object (All methods and properties of Map apply to this object.)

 

Properties

ArrowScale

Bulge

ClassArrowScale

ClassBulge

ClassEndArrow

ClassEndOffset

ClassFlowShape

ClassFont

ClassLeadArrowScale

ClassLeadEndArrow

ClassLeadLine

ClassLeadStartArrow

ClassLine

ClassMaxVal

ClassMethod

ClassMinVal

ClassName

ClassStartArrow

ClassTextOffset

DataMethod

DisplayLabel

DisplayLeadToLabel

EndArrow

EndOffset

EndPIDCol

FlowMethod

FlowShape

GlobalData

LabelType

Line

MaxWidth

MinWidth

NumClasses

PIDCol

StartArrow

StdDevIncrementValue

UseAbsoluteValue

UserLimitMaxVal

UserLimitMinVal

UserLimits

VarCol

 

Methods

LoadClassFile

SaveClassFile

SaveClassInfoToDataFile

SetClassMinMaxVals

SetUserLimits

 

Example

This example creates a flow map that connects the boundary centroids with flow lines.

 

Sub Main

'Declares mvApp as an object

 Dim mvapp As Object

 

'Creates an instance of the MapViewer Application

'object and assigns it to the variable named "mvapp"

 Set mvapp = CreateObject("MapViewer.Application")

 

'Make MapViewer visible

 mvapp.Visible = True

 

'Declare Plot as Object

 Dim Plot As Object

 

'Creates a new map window

 Set Plot = mvapp.Documents.Add(mvDocPlot)

 

'Declare FlowMap as object

 Dim FlowMap As Object

 

'Create a flow map using the connect centroids method

 Set FlowMap = Plot.CreateFlowMap(BoundaryFileName:=mvapp.ApplicationFolder + _

      "\Samples\us50ll.gsb", DataFileName:= mvapp.ApplicationFolder + _

      "\ Samples\flow.dat", FlowMethod:= mvFlowConnectEnds, PIDCol:=1, _

      EPIDCol:=2, VarCol:=3 )

End Sub