User Tools

Site Tools


Table of Contents

Rotation sample

Documentation | Samples | Rotation


How to show map rotated around selected point.


This sample illustrates use of:

Name Description
TGIS_Viewer.OpenOpen project.
TGIS_Viewer.ScreenToMapConverts point coordinates from screen related to map related.
TGIS_Viewer.LocateLocate a shape that is near _ptg, but is closer than _prec distance.
TGIS_Viewer.RotationAngleAngle of viewer rotation in radians.
TGIS_Viewer.RotationPointPoint of viewer rotation in map units.
TGIS_Utils.GisCenterPointCalculates center point of given extent.


This sample is available on following platforms (click to see source code):

2020/05/26 09:38

Page Tools