The SymbolMap object contains the properties and methods of a symbol map. Symbol maps are created with the CreateSymbolMap method.
Derived from: Map object (All methods and properties of Map apply to this object.)
Properties
Methods
Example
This example creates a symbol map of California.
Sub Main
'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 SymbolMap as object
Dim SymbolMap As Object
'Create a symbol map
Set SymbolMap= Plot.CreateSymbolMap(BoundaryFileName:= _
mvapp.ApplicationFolder + "\Samples\ca2010.gsb", DataFileName:= _
mvapp.ApplicationFolder + "\Samples\ca2010.dat", _
BoundaryFileOptions:="AreasToCurves=0", PIDCol:=1, VarCol:=3)
End Sub