The PrismMap object contains the properties and methods of a prism map. Prism maps are created with the CreatePrismMap method.
Derived from: Map object (All methods and properties of Map apply to this object.)
Properties
Methods
Example
This example creates a prism map of Colorado.
Sub main
'Creates an instance of the MapViewer Application
'object and assigns it to the variable named "mvApp"
Set mvApp = CreateObject("MapViewer.Application")
'Makes the application main window visible
mvApp.Visible = True
'Assigns the location of the samples folder to
'the variable "InPath"
InPath$ = mvApp.ApplicationFolder + " samples\"
'Creates a map document object, and assigns it to
'the variable named "Plot"
Set Plot = mvApp.Documents.Add(DocType:=mvDocPlot)
'Creates a prism map object and assigns it to the
'variable named "PrismMap"
Set PrismMap = Plot.CreatePrismMap( BoundaryFileName:=InPath$ + _
"co2010.gsb", DataFileName:=InPath$ + "co2010.dat", _
ColorMethod:= mvPrismColorInterpolated, PIDCol:=1, VarCol:=5)
End sub