Documentation | Samples | ViewerLite
ViewerLite Sample - Minimal lightweight map viewer application for displaying GIS data, available for mobile platforms (FMX, WPF, MAUI).
What the sample shows:
See also Viewer sample.
This sample illustrates use of:
| Name | Description |
|---|---|
| TGIS_Viewer.Open | Open a project. |
| TGIS_Viewer.Close | Close the current project. |
| TGIS_ViewerWnd.Mode | Determines how the viewer reacts to mouse input. |
| TGIS_Viewer.FullExtent | Calculate the screen origin, zoom, and viewport to place the whole map in the window. |
| TGIS_Viewer.IsEmpty | True if the viewer is empty and contains no layers. |
| TGIS_Viewer.Items | All layers. |
| TGIS_Viewer.CS | Coordinate system assigned to the viewer. |
| TGIS_Viewer.Locate | Locates the shape nearest to _ptg that is within _prec. |
| TGIS_Viewer.ScreenToMap | Converts point coordinates from screen coordinates to map coordinates. |
| TGIS_ViewerWnd.HiRes | Enables high-resolution rendering. |
| TGIS_LayerVector.DeselectAll | Clears the selection state of all shapes in the layer. |
| TGIS_Shape.IsSelected | Shape is selected in the layer. |
This sample is available on the following platforms (click to view the source code on GitHub):