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. {{#multireplace:FMX.Maps.TMapView.OnMapClick|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Maps.TCustomMapView.OnMapClick|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Maps.TCustomMapView.OnMapClick|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.