User Tools

Site Tools


api:dk11:delphi:fmx.gisviewerwnd.tgis_viewerwnd.restricteddrag

Table of Contents

TGIS_ViewerWnd.RestrictedDrag property

DK11 for Delphi | FMX.GisViewerWnd.TGIS_ViewerWnd.RestrictedDrag | Constructors | Methods | Properties | Events | Events

If true, then you can not drag outside the map Extent.

Available also on: Delphi VCL | .NET WinForms | .NET WPF | Java.

Syntax

// Delphi
published
  property RestrictedDrag : Boolean read write default True;
// C++ Builder
published:
  __property bool RestrictedDrag = {read, write, default=True};

Value

Type Default
Boolean True

Remarks

If map will be rotated by RotationAngle then using RestrictedDrag is not recommended.

2019/02/08 01:09