API: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.
FMX.Maps.TMapView.OnMapLongClick inherits from FMX.Maps.TCustomMapView.OnMapLongClick. All content below this line refers to FMX.Maps.TCustomMapView.OnMapLongClick.
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.