FMX.Maps.TMapCoordinate.Create
Delphi
class function Create(const Latitude: Double; const Longitude: Double): TMapCoordinate; overload; static; inline;
class function Create(const Point: TPointF): TMapCoordinate; overload; static; inline;
C++
static TMapCoordinate __fastcall Create(const double Latitude, const double Longitude)/* overload */;
static TMapCoordinate __fastcall Create(const System::Types::TPointF &Point)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Maps.pas FMX.Maps.hpp |
FMX.Maps | TMapCoordinate |
Description
Creates and initializes a new instance of TMapCoordinate with the provided Latitude
and Longitude
.
The Create method takes the following parameters:
Parameter | Description |
---|---|
Latitude
|
Latitude of the world map coordinate in decimal degrees. On TMapCoordinate creation, the value of Latitude is assigned to the Latitude field.
|
Longitude
|
Longitude of the world map coordinate in decimal degrees. On TMapCoordinate creation, the value of Longitude is assigned to the Longitude field.
|