- globalmapper.RedrawMapDisplay(GM_Rectangle_t aNewExtents) GM_Error_t32
-
Draws the map display using the specified data bounds (only supported in Global Mapper Extension SDK)
- Parameters:
-
aNewExtents (GM_Rectangle_t) – The new data extents for the display in the current projection
- Returns:
-
Error Code
- Return type:
-
GM_Error_t32
Example
The following is an example of RedrawMapDisplay.
import globalmapper as gm
### START SAMPLE
err_RedrawMapDisplay = gm.RedrawMapDisplay(gm.GM_Rectangle_t(0, 0, 50, 50))
### END SAMPLE
assert (
gm.GM_Error_None == err_RedrawMapDisplay
), f"RedrawMapDisplay: Expected {gm.GM_Error_None}, got {err_RedrawMapDisplay}"