FMX.Maps.TMapMarkerDescriptor.Create
Delphi
class function Create(const Position: TMapCoordinate; const Title: string = 'Marker Title'): TMapMarkerDescriptor; static;
C++
static TMapMarkerDescriptor __fastcall Create(const TMapCoordinate &Position, const System::UnicodeString Title = L"Marker Title");
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Maps.pas FMX.Maps.hpp |
FMX.Maps | TMapMarkerDescriptor |
Description
Creates and initializes an instance of TMapMarkerDescriptor.
The Create method initializes the map marker at the given coordinate with the provided title.
Create takes the following parameters:
| Parameter | Description |
|---|---|
| Position | Marker position with type TMapCoordinate that includes the latitude and longitude. |
| Title | Title of the map marker as a string. |