GetLastDrawnMapBounds¶
- globalmapper.GetLastDrawnMapBounds() GM_Error_t32, GM_Rectangle_t, GM_PixelRect_t[source]¶
Gets the most recently drawn map bounds (only supported in Global Mapper Extension SDK)
- Returns:
Error Code
- Return type:
GM_Error_t32
- Returns:
World bounds of last drawn view
- Return type:
- Returns:
Pixel bounds of last drawn view
- Return type:
Example¶
The following is an example of GetLastDrawnMapBounds.
err_GetLastDrawnMapBounds, rect, pixel_rect = gm.GetLastDrawnMapBounds()