DK11 for Delphi | GisViewer.TGIS_Viewer.RotationPoint | Constructors | Fields | Methods | Properties | Events | Events
Point of viewer rotation in map units.
// Delphi public property RotationPoint : TGIS_Point read write;
// C++ Builder public: __property TGIS_Point* RotationPoint = {read, write};
Type |
---|
TGIS_Point |
See also RotationAngle.
procedure MyForm.GISMouseDown( Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer ) ; begin // if clicked, change a rotation point and move viewport GIS.RotationPoint := GIS.ScreenToMap( Point( X, Y ) ); if Autocenter then GIS.CenterViewport( GIS.ScreenToMap( Point( X, Y ) ) ); end ;