FMX.Maps.TMapControlOption

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TMapControlOption = (Zoom, Compass, MyLocation);

C++

enum class DECLSPEC_DENUM TMapControlOption : unsigned char { Zoom, Compass, MyLocation };

Properties

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

Description

Controls and gauges on the map overlay.

The available values for TMapControlOption are:

  • Zoom
  • Compass
  • MyLocation

Platform Support and Screenshots

TMapControlOption Android iOS Notes
Toggle Default Screenshot Toggle Default Screenshot

Zoom

YesC++11Feature.png
YesC++11Feature.png

Maps Android Zoom.png

Not supported

Compass

YesC++11Feature.png
YesC++11Feature.png

Maps Android Compass.png

Always shows

Maps iOS Compass.jpg

The compass icon automatically hides while the map view is in its default position (rotation and tilt are 0).

If you click the compass icon:

  • Android: The tilt and the rotation of the map view reset to default position.
  • iOS: The rotation of the map view resets to default position.

MyLocation

YesC++11Feature.png
YesC++11Feature.png

Maps Android MyLocation.png

Not supported

To show this overlay, you need to enable the TMapLayerOption.UserLocation layer.

See Also