Свойство | Type | Description | |
---|---|---|---|
$ellipsoid | The selected ellipsoid. | ||
$latitude | double | The latitude of the coordinate. | |
$longitude | double | The longitude of the coordinate. |
Méthode | Description | |
---|---|---|
__construct ( Geocoder\Model\Address | array | string $coordinates, |
Set the latitude and the longitude of the coordinates into an selected ellipsoid. | |
getEllipsoid ( ) | {@inheritDoc} | |
getLatitude ( ) | {@inheritDoc} | |
getLongitude ( ) | {@inheritDoc} | |
getPrecision ( ) : integer | ||
isEqual ( |
Returns a boolean determining coordinates equality | |
jsonSerialize ( ) | {@inheritDoc} | |
normalizeLatitude ( $latitude ) | {@inheritDoc} | |
normalizeLongitude ( $longitude ) | {@inheritDoc} | |
setFromString ( string $coordinates ) | Creates a valid and acceptable geographic coordinates. | |
setLatitude ( $latitude ) | {@inheritDoc} | |
setLongitude ( $longitude ) | {@inheritDoc} | |
setPrecision ( integer $precision ) |
Méthode | Description | |
---|---|---|
toDecimalDegrees ( string $coordinates ) : array | Converts a valid and acceptable geographic coordinates to decimal degrees coordinate. |
public __construct ( Geocoder\Model\Address | array | string $coordinates, |
||
$coordinates | Geocoder\Model\Address | array | string | The coordinates. |
$ellipsoid | The selected ellipsoid (WGS84 by default). |
public setFromString ( string $coordinates ) | ||
$coordinates | string |
protected Ellipsoid,League\Geotools\Coordinate $ellipsoid | ||
Résultat |
protected double $latitude | ||
Résultat | double |