globalmapper.SetChangeViewCallback3D¶
- globalmapper.SetChangeViewCallback3D(GM_3DChangeViewCallbackFunc aCallbackFunc, int aUserData) None [source]¶
Sets the callback function to be called when a button is pressed (either a pan or zoom button) in the 3D view that would typically result in a new set of data to be displayed in the 3D window.
Provide this callback if you want to keep your main view in sync with the 3D view, like in the Global Mapper application. If you do not provide a callback, the default behavior is to just update the data displayed in the 3D view independent of any other view.
- Parameters
aCallbackFunc (GM_3DChangeViewCallbackFunc) – The function to be called
aUserData (int) – The data to update the view
- Returns
Nothing
- Return type
None