Skip to main content

TdxMapControlOptionsBehavior.InertialScrolling Property

Controls if inertial map scrolling is enabled when dragging the map area.

Declaration

property InertialScrolling: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

Dragging the map area is one of the methods available to end-users for map scrolling. With the InertialScrolling property, you can improve the user experience by enabling inertial map scrolling. If this property is set to True, scrolling comes to a gradual stop when the mouse button is released. Otherwise, scrolling stops immediately after releasing the mouse button.

Use the dxMapControlInertialScrollingDecelerationRatio global constant to adjust the inertial scroll duration.

Note

The InertialScrolling property is in effect only for dragging the map area and only if the Scrolling property is set to True.

The default value of the InertialScrolling property is True.

See Also