Global Mapper SDK
GM_GetLastDrawnMapBoundsEx
Gets the most recently drawn map bounds, including rotation (only supported in Global Mapper Extension SDK)
Syntax
C++
Copy
GM_Error_t32 GM_GetLastDrawnMapBoundsEx
(
GM_Rectangle_t* aWorldBounds, // OUT: World bounds of last drawn view
GM_PixelRect_t* aPixelRect, // OUT: Pixel bounds of last drawn view
GM_RotatedRect_t* aWorldBoundsRotated, // OUT: World bounds of last drawn view rotated
void* aReserved // Reserved for future use, must be NULL
);