FMX.Maps.TMapControlOption

From RAD Studio API Documentation

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

Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

Not supported

Compass

Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

Always shows

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

Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

Not supported

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

See Also