FMX.Maps.TMapMarkerDescriptor.Create

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also