YOUSEFUL / DELPHI / COMPONENTS

TAtlasGeoPoint

A latitude and longitude in degrees, as used by TAtlasMap.

Record Unit Atlas.Map · Product Atlas VCL

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

MemberKindWhat it does
LatitudefieldDegrees north (positive) or south (negative) of the equator.
LongitudefieldDegrees 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.

pascal
uses Atlas.Map;

function GeoPoint(Latitude, Longitude: Double): TAtlasGeoPoint;
begin
  Result.Latitude := Latitude;
  Result.Longitude := Longitude;
end;

TAtlasMap

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