Maptitude GISDK Help

RedrawMap()

Summary

Redraws a map window.

 

Syntax

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.

 

Notes

Example

SetScale(GetScale() * 2.0) // Change the scale of a map...

RedrawMap() // Redraw it at the new scale

 

Error Codes

Error Type Meaning
NotFound There is no map with the specified name, ormap_name is null and there is no map window

 

See Also

Function Summary
SetMapRedraw() Controls whether maps redraw automatically

 

 

©2025 Caliper Corporation www.caliper.com