SetMapPrevious()

Summary

Sets the area covered by a map to be that shown before the last change in scale or scope.

Syntax

SetMapPrevious(string map_name)

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

Notes

  • The map is not drawn at the previous scale or scope until the next call to RedrawMap() or the map window is uncovered and needs to be redrawn.

Example

SetMapScope("Customer Map", GetLayerScope("Customers"))
SetMapPrevious("Customer Map")

Error Codes

Error Type Meaning
NotFound There is no map with the specified name

See Also

Function Summary
SetMapScope() Sets the area covered by a map
SetScale() Sets the scale of a map