PinMap Object

 

The PinMap object contains the properties and methods of a pin map. Pin maps are created with the CreatePinMap method.

 

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

 

Properties

Append

Attrib1Col

Attrib2Col

ClassCol

ClassMaxVal

ClassMethod

ClassMinVal

ClassName

ClassSymbol

CreateAttrib1

CreateAttrib2

CreateHyperlink

HyperlinkCol

LabelAngle

LabelCol

LabelFont

LabelFormat

LabelPosOffsetType

LabelPosXOffset

LabelPosYOffset

NumClasses

OtherLocation

PIDCol

PinMethod

ShowLabel

StdDevIncrementVal

SymbolAngle

SymbolAngleCol

SymbolAngleFromCol

SymbolCol

SymbolFrequency

UserLimitMaxVal

UserLimitMinVal

UserLimits

UseUSZIPCode

XCol

YCol

 

Methods

LoadClassFile

SaveClassFile

SaveClassInfoToDataFile

SetClassMinMaxVals

SetUserLimits

 

Example

This example creates a pin map of various US cities.

 

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

 

'Create a new map window

 Set Plot = mvapp.Documents.Add(mvDocPlot)

 

'Declare PinMap as object

 Dim PinMap As Object

 

'Create a Pin Map

 Set PinMap = Plot.CreatePinMap( DataFileName:=mvapp.ApplicationFolder _

 + " Samples\Pin.dat", LocatingMethod:= mvPinLocCoordinates, PIDCol:=1, _

 XCol:=3, YCol:=4, LabCol:=2)

End Sub