Documentation | Samples | Zooming
Zooming Sample - Interactive map navigation using mouse wheel zoom, drag-select zoom region, and switching between zoom and pan modes.
What the sample shows:
This sample illustrates use of:
| Name | Description |
|---|---|
| TGIS_Viewer.Open | Open a project. |
| TGIS_Viewer.FullExtent | Calculate the screen origin, zoom, and viewport to place the whole map in the window. |
| TGIS_ViewerWnd.Mode | Determines how the viewer reacts to mouse input. |
| TGIS_ViewerWnd.ZoomBy | Zoom the viewer. |
This sample is available on the following platforms (click to view the source code on GitHub):