Documentation | Samples | Rotation
How to show map rotated around selected point.
This sample illustrates use of:
Name | Description |
---|---|
TGIS_Viewer.Open | Open project. |
TGIS_Viewer.ScreenToMap | Converts point coordinates from screen related to map related. |
TGIS_Viewer.Locate | Locate a shape that is near _ptg, but is closer than _prec distance. |
TGIS_Viewer.RotationAngle | Angle of viewer rotation in radians. |
TGIS_Viewer.RotationPoint | Point of viewer rotation in map units. |
TGIS_Utils.GisCenterPoint | Calculates center point of given extent. |
This sample is available on following platforms (click to see source code):