FMX.Maps.TCustomMapView.OnMapClick

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnMapClick: TMapClickEvent read FOnMapClick write FOnMapClick;

C++

__property TMapClickEvent OnMapClick = {read=FOnMapClick, write=FOnMapClick};

Properties

Type Visibility Source Unit Parent
event public
FMX.Maps.pas
FMX.Maps.hpp
FMX.Maps TCustomMapView

Description

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.

See Also