SetMapDefaultScope()

Summary

Sets the default scope of a map.

Syntax

SetMapDefaultScope(string map_name, scope new_default_scope)

Argument Contents
map_name The name of the map or null for the current map
scope The new default scope for the map

Notes

Example

scp = GetLayerScope("Districts")
SetMapDefaultScope("My U.S. Map", scp)

Error Codes

Error Type Meaning
NotFound The specified map does not exist

See Also

Function Summary
GetMapDefaultScope() Gets the default scope of a map
SetMapScope() Sets the area covered by a map