GetMapRedraw()
Summary
Gets the current state of the redraw flag as set by SetMapRedraw().
Syntax
GetMapRedraw(string map_name)
| Argument | Contents |
|---|---|
| map_name | The name of the map, or null for the current map |
Returns
The current state of the redraw flag, as set by SetMapRedraw(), where "True" means map drawing is turned on and "False" means map drawing is turned off.
Example
GetMapRedraw("My Map")
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | There is no map with the specified name |
See Also
| Function | Summary |
|---|---|
| SetMapRedraw() | Controls whether map windows redraw automatically |