| Maptitude GISDK Help |
Centers a map at a particular location.
CenterMap(string map_name, coord center)
| Argument | Contents |
|---|---|
| map_name | The map to be centered |
| center | The coordinate of the center point |
If map_name is null the current map is used.
// Center a map where the user clicks...
CenterMap(null, ClickCoord())
| Error Type | Meaning |
|---|---|
| NotFound | map_name does not exist |
| 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 |