FMX.Maps.TMapGestureOptions

From RAD Studio API Documentation

Delphi

type TMapGestureOptions = set of TMapGestureOption;

C++

typedef System::Set<TMapGestureOption, _DELPHI_SET_ENUMERATOR(TMapGestureOption::Zoom), _DELPHI_SET_ENUMERATOR(TMapGestureOption::Rotate)> TMapGestureOptions;

Properties

Type Visibility Source Unit Parent
set
typedef
public
FMX.Maps.pas
FMX.Maps.hpp
FMX.Maps FMX.Maps

Description

A set of TMapGestureOption.

Platform Support

TMapGestureOption Android iOS Description
Toggle Default Toggle Default

Zoom

Use any of the following gestures to

  • Zoom-in:
    • Pinch
    • Double Tap
  • Zoom-out:
    • Zoom (also called Spread)
    • Two Finger Tap
    • Press and Tap

Tilt

Use the Two Finger Scroll gesture to tilt. There are some limitations for the tilt:

  • Android:
    • The maximum tilt depends on the current zoom: the higher the zoom, the higher the maximum tilt. The range of tilt is between 30 and 68.
  • iOS:
    • Tilt is only possible if the TMapType is Normal and the current zoom is 11 or higher. The range of tilt is between 0 and 78.

Scroll

This gesture allows you to move the map view. The gesture is sometimes called Pan, Scroll or Tap and Move.

Rotate

Use the Rotate gesture to control the rotation (bearing) of the map view.

See Multi-touch Gestures for a detailed explanation and example of each gesture.

See Also