AddEmptyBaseLayer
The AddEmptyBaseLayer method adds a new empty base map to a specified MapFrame object. Returns a BaseLayer Object.
Syntax
object.AddEmptyBaseLayer( Map )
Parameter |
Type |
Default |
Description |
Map |
required; This specifies the MapFrame object to which the empty base map layer is added. |
Example
The following example creates a contour map, then adds an empty base map.
'Adds a contour map to the plot
Set MapFrame = Plot.Shapes.AddContourMap(GridFileName:=SurferApp.Path+"\Samples\demogrid.grd")
'Sets the contour layer to the variable named ContourLayer
Set ContourLayer = MapFrame.Overlays(1)
'Adds an empty base layer to the map
Set BaseLayer = Plot.Shapes.AddEmptyBaseLayer (Map:=MapFrame)
Used by: Shapes collection