| Maptitude GISDK Help |
Redraws a map window.
RedrawMap(string map_name)
| Argument | Contents |
|---|---|
| map_name | The name of the map, or null for the current map |
| Option | Type | Contents |
|---|---|---|
| Redraw All | Boolean | "True" means redraw all layers completely, "False" means to only redraw layers that have changed. |
| Update | Boolean | "True"means show incremental drawing (every few seconds), "False"means only show the fully drawn map once in-memory drawing is complete. |
Most functions that change the scale or display settings for a map do not redraw the map after the change. The map is redrawn automatically when:
The window is resized by the user, or
A portion of the map, obscured by another window or dialog box, is uncovered.
Use RedrawMap() to make sure a map redraws when you want.
SetScale(GetScale() * 2.0) // Change the scale of a map...
RedrawMap() // Redraw it at the new scale
| Error Type | Meaning |
|---|---|
| NotFound | There is no map with the specified name, ormap_name is null and there is no map window |
| Function | Summary |
|---|---|
| SetMapRedraw() | Controls whether maps redraw automatically |
| ©2025 Caliper Corporation | www.caliper.com |