FMX.Maps.TMapControlOption
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 | ||
|
|
|
Not supported |
||||
|
|
|
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: | |||
|
|
|
Not supported |
To show this overlay, you need to enable
the TMapLayerOption |