YOUSEFUL / DELPHI / COMPONENTS
TAtlasGeoPoint
A latitude and longitude in degrees, as used by TAtlasMap.
Description
Used by TAtlasMap.Project, Unproject, AddPath and Center. The record has no constructor; set both fields. TAtlasMap accepts latitudes from -90 to 90 and longitudes from -180 to 180 and raises EArgumentException for anything else.
Members
| Member | Kind | What it does |
|---|---|---|
Latitude | field | Degrees north (positive) or south (negative) of the equator. |
Longitude | field | Degrees east (positive) or west (negative) of Greenwich. |
Fields
Latitude field
Latitude, Longitude: Double;Degrees north (positive) or south (negative) of the equator.
Longitude field
Latitude, Longitude: Double;Degrees east (positive) or west (negative) of Greenwich.
Examples
A small constructor function
Convenient when building paths.
uses Atlas.Map;
function GeoPoint(Latitude, Longitude: Double): TAtlasGeoPoint;
begin
Result.Latitude := Latitude;
Result.Longitude := Longitude;
end;
Related
Also in Atlas VCL
TAtlasTable · TAtlasGrid · TAtlasValueEdit · TAtlasTree · TAtlasWorkbook · TAtlasSheetGrid · TAtlasPivot · TAtlasInspector · TAtlasRichEdit · TAtlasSpellChecker · TAtlasChart · TAtlasGauge · TAtlasThemer · TAtlasWizard · TAtlasWorkspace · TAtlasCommandBar · TAtlasActionTile · TAtlasTileBoard · TAtlasNavigation · TAtlasMap · TAtlasGraph · TAtlasDiagram · TAtlasPrintDocument · TAtlasSchedule · TAtlasScheduler · TAtlasTaskPlan · TAtlasGantt · TAtlasPdfDocument · TAtlasPdfViewer