- globalmapper.SetProjectionEx(GM_Projection_t aProj, GM_Rectangle_t aLatLonRect, int aReserved) GM_Error_t32 ¶
Set the new projection. This is the projection that all draws and exports will be done in. It is also the projection that all world bound rectangles will be in. This version allows providing a lat/lon bounding rectangle for automatic selection of the best zone for zoned projections.
If you pass in a zoned projection, like UTM, with no ZONE attribute or a ZONE of 0, the lat/lon rectangle (if provided) will be used to automatically select the best zone for the provided bounds. If no rectangle is provided, the last drawn rectangle will be used.