Scope()

Summary

Creates a scope.

Syntax

Scope(coordinate center_point, real horiz_extent, real vert_extent, real angle)

Argument Contents
coord_center The coordinate of the center of the scope
horiz_extent The horizontal extent of the scope in map units (e.g. miles)
vert_extent The vertical extent of the scope in map units
angle The angle of rotation, in radians, of the scope

Returns

A scope that can be passed to SetMapScope() and many other GISDK functions; see Compound Variables.

Notes

  • Angle should always be set to zero.

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

Example

scp = Scope(Coord(-80000000, 44500000), 200.0, 100.0, 0)
SetMapScope("mymap", scp)

See Also

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