PrismMap Object

 

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

AddEdge

AddTopEdgeOnly

ApplyTexture

BlendTexture

ClassColor

ClassColorSpectrum

ClassColorVarCol

ClassMaxVal

ClassMethod

ClassMinVal

ClassName

ClassUndefColor

ClassUserLimitMaxVal

ClassUserLimitMinVal

ClassUserLimits

ColorMethod

ConvertToPyramid

DrawBoundingBox

EdgeColor

Emission

EnableLight

EyeDistance

GlobalData

HeightColorSpectrum

HorizontalLightAngle

KeepPrism

MaxHeight

MinHeight

NumClasses

Perspective

PIDCol

PrismBehindBaseMap

Rotation

ScalePercent

StackVectorMap

StdDevIncrementVal

TextureFill

TextureMethod

Tilt

TopTextureOnly

UseAreaEdgeColor

UserLimitMaxVal

UserLimitMinVal

UserLimits

VarCol

VectorOffset

VerticalLightAngle

WhiteWashWall

 

Methods

InterpolateClassColors

InterpolateWithClassColor

LoadClassFile

LoadTextureBitmapFile

MapDataToHeightColor

SaveClassFile

SaveClassInfoToDataFile

SetClassMinMaxVals

SetClassUserLimits

SetUserLimits

 

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