FMX.Maps.TMapGestureOption

From RAD Studio API Documentation

Delphi

TMapGestureOption = (Zoom, Tilt, Scroll, Rotate);

C++

enum class DECLSPEC_DENUM TMapGestureOption : unsigned char { Zoom, Tilt, Scroll, Rotate };

Properties

Type Visibility Source Unit Parent
enum public
FMX.Maps.pas
FMX.Maps.hpp
FMX.Maps FMX.Maps

Description

Gestures that the map view handles.

The available values for TMapGestureOption are:

  • Zoom
  • Tilt
  • Scroll
  • Rotate

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