RecenterMapDisplay

globalmapper.RecenterMapDisplay(GM_Point_t aCenterPoint) GM_Error_t32[source]

Centers the map display at the specified point (only supported in Global Mapper Extension SDK)

Parameters:

aCenterPoint (GM_Point_t) – the new center point for the display in the current projection

Returns:

Error Code

Return type:

GM_Error_t32

Example

The following is an example of RecenterMapDisplay.

err_RecenterMapDisplay = gm.RecenterMapDisplay(gm.GM_Point_t(0, 0))