API:FMX.Maps.TMapView.OnMapClick
Delphi
property OnMapClick: TMapClickEvent read FOnMapClick write FOnMapClick;
C++
__property OnMapClick;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FMX.Maps.pas FMX.Maps.hpp |
FMX.Maps | TMapView |
Description
Occurs when the user clicks a point of the map.
FMX.Maps.TMapView.OnMapClick inherits from FMX.Maps.TCustomMapView.OnMapClick. All content below this line refers to FMX.Maps.TCustomMapView.OnMapClick.
Occurs when the user clicks a point of the map.
The event handler of OnMapClick receives a single parameter, Position
, which is the coordinate of the map that the user clicks.