| Maptitude GISDK Help |
Redraws the annotations in a map window.
DrawMapAnnotations(string window_spec)
| Argument | Contents |
|---|---|
| window_spec | The window type and name, or null for the current map |
DrawMapAnnotations() is useful to refresh a map without drawing all the map features one by one.
DrawMapAnnotations() draws a clean bitmap showing all the layers, and then draws annotations on top of the clean map.
For a full list of GISDK functions for annotations, see Freehand Items (Annotations).
DrawMapAnnotations("Map|My First Map")
DrawMapAnnotations()
| Error Type | Meaning |
|---|---|
| Error | The window_spec is invalid |
| NotFound | There is no map window of the given name |
| Function | Summary |
|---|---|
| RedrawMap() | Redraws a map window |
| AddAnnotation() | Adds an annotation to a map or layout window |
| ©2025 Caliper Corporation | www.caliper.com |