FMX.Maps.TMapView.OnMapLongClick
Delphi
property OnMapLongClick: TMapClickEvent read FOnMapLongClick write FOnMapLongClick;
C++
__property OnMapLongClick;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | FMX.Maps.pas FMX.Maps.hpp |
FMX.Maps | TMapView |
Description
Occurs when the user long-clicks a point of the map. {{#multireplace:FMX.Maps.TMapView.OnMapLongClick|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Maps.TCustomMapView.OnMapLongClick|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.OnMapLongClick|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Occurs when the user long-clicks a point of the map.
The event handler of OnMapLongClick receives a single parameter, Position, which is the coordinate of the map that the user long-clicks.