Maptitude GISDK Help |
Gets the scope of a map using the current window width and height.
scp = GetMapWindowScope(string map_name)
Argument |
Contents |
map_name |
The map for which the scope is calculated |
The scope of the map window.
The map window shows the entire map scope, plus some additional area that fills out the excess width or height of the map window. The map window scope is the scope that matches the entire area displayed in the window.
For a full list of scope-related GISDK functions, see Map Scales and Scopes.
scp = GetLayerScope("U.S. States")
SetMapScope(, scp) |
// Sets the map so that the entire U.S. is shown |
scp1 = GetMapWindowScope() |
// scp1 is probably larger than scp! |
Error Type |
Meaning |
NotFound |
The specified map does not exist |
Function |
Summary |
Sets the scope of a map |
|
Gets the scope of a map |
©2025 Caliper Corporation | www.caliper.com |