| Maptitude GISDK Help |
Gets an array of two coordinates that define the rectangle of a scope.
coords = GetScopeRect(scope scp)
| Argument | Contents |
|---|---|
| scp | The scope from which to get the rectangle |
An array of two coordinates:
| Element | Type | Contents |
|---|---|---|
| 1 | Coord | Minimum longitude; minimum latitude |
| 2 | Coord | Maximum longitude; maximum latitude |
For a full list of scope-related GISDK functions, see Map Scales and Scopes.
// change the scope to be at one of its corners
scp = GetMapScope("my map")
coords = GetScopeRect(scp)
scp.center = coords[1]
SetMapScope("my map", scp)
| Function | Summary |
|---|---|
| GetScopeCorners() | Gets coordinates at the four corners of a given scope |
| Scope() | Creates a scope |
| ©2025 Caliper Corporation | www.caliper.com |