Coordinates
in package
Read onlyYes
FinalYes
The MAP of a place: LATI and LONG as degrees, north and east positive ("N50.45", "E30.52").
Table of Contents
Properties
- $latitude : float
- $longitude : float
Methods
- __construct() : mixed
- latitudeToGedcom() : string
- longitudeToGedcom() : string
- parse() : self
- tryParse() : self|null
- 5.x hemispheres may be in either case.
Properties
$latitude
public
float
$latitude
$longitude
public
float
$longitude
Methods
__construct()
public
__construct(float $latitude, float $longitude) : mixed
Parameters
- $latitude : float
- $longitude : float
latitudeToGedcom()
public
latitudeToGedcom() : string
Return values
stringlongitudeToGedcom()
public
longitudeToGedcom() : string
Return values
stringparse()
public
static parse(string $latitude, string $longitude[, Version $version = Version::V7_0 ]) : self
Parameters
- $latitude : string
- $longitude : string
- $version : Version = Version::V7_0
Tags
Return values
selftryParse()
5.x hemispheres may be in either case.
public
static tryParse(string $latitude, string $longitude[, Version $version = Version::V7_0 ]) : self|null
Parameters
- $latitude : string
- $longitude : string
- $version : Version = Version::V7_0