Maptitude GISDK Help

GetMapWindowScope()

Summary

Gets the scope of a map using the current window width and height.

 

Syntax

scp = GetMapWindowScope(string map_name)

 

Argument Contents
map_name The map for which the scope is calculated

 

Returns

The scope of the map window.

 

Notes

 

Example

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 Codes

Error Type Meaning
NotFound The specified map does not exist

 

See Also

Function Summary
SetMapScope() Sets the scope of a map
GetMapScope() Gets the scope of a map

 

 

©2025 Caliper Corporation www.caliper.com