Maptitude GISDK Help

CenterMap()

Summary

Centers a map at a particular location.

 

Syntax

CenterMap(string map_name, coord center)

 

Argument Contents
map_name The map to be centered
center The coordinate of the center point

 

Notes

Example

// Center a map where the user clicks...

CenterMap(null, ClickCoord())

 

Error Codes

Error Type Meaning
NotFound map_name does not exist

 

See Also

Function Summary
SetScale() Sets the scale of a map
ZoomMap() Changes the scale of a map
ZoomAndCenterMap() Changes the scale and center of a map

 

 

©2025 Caliper Corporation www.caliper.com