GM_SetQueryProjectionCallback

Sets the function to call to select a projection for a layer when being loaded if the projection for that layer cannot be automatically determined. If a callback is provided, it will be called rather than the projection selection dialog being displayed. Pass NULL in for the callback function to restore the standard projection selection dialog.

Syntax

C++
Copy
GM_DLL_EXPORTED void __stdcall GM_SetQueryProjectionCallback
(
GM_QueryProjectionCallbackFunc  aCallbackFunc
);