GetMapDefaultScope()

Summary

Gets the default scope of a map.

Syntax

default_scope = GetMapDefaultScope(string map_name)

Argument Contents
map_name The name of the map, or null for the current map

Returns

The default scope of the map.

Notes

  • The default scope of a map is the scope that was in effect when the map was created.

  • For a full list of scope-related GISDK functions, see Map Scales and Scopes.

Example

scp = GetMapDefaultScope("My U.S. Map")
SetMapScope("My U.S. Map", scp)

Error Codes

Error Type Meaning
NotFound The specified map does not exist

See Also

Function Summary
SetMapDefaultScope() Sets the default scope of a map
GetMapScope() Gets the current scope of a map