Maptitude GISDK Help

ZoomMap()

Summary

Changes the scale of a map.

 

Syntax

ZoomMap(string map_name, real fraction)

 

Argument

Contents

map_name

The map whose scale is changed

fraction

The multiplier by which the width and height should be changed

 

Notes

Example

ZoomMap(null, 2.0)  // Zoom out, or double the width and height

ZoomMap("my map", 0.5)  // Zoom in, or cut the width and height in half

 

Error Codes

Error Type

Meaning

NotFound

The specified map does not exist

 

See Also

Function

Summary

CenterMap()

Centers a map at a particular location

SetScale()

Sets the scale of a map

ZoomAndCenterMap()

Changes the scale and center of a map

SetMapScope()

Sets the area covered by a map

 

 

©2025 Caliper Corporation www.caliper.com