Maptitude GISDK Help

CopyLayerSettings()

Summary

Copies the settings for a layer from one map to another.

 

Syntax

CopyLayerSettings(string from_map, string to_map, string layer_name)

 

Argument Contents
from_map The name of the map with the layer settings
to_map The name of the map to get the layer settings
layer_name The name of the layer

 

Example

 

CopyLayerSettings("My First Map", "My Second Map", "County")

 

Error Codes

Error Type Meaning
NotFound from_map, to_map, layer_name does not exist

 

See Also

Function Summary
GetLayer() Gets the name of the current layer, if any
GetLayers() Gets information on layers in the system and the current layer

 

 

©2025 Caliper Corporation www.caliper.com