| 1 | <?php |
||
| 10 | class LatLong extends \Ballen\Distical\Entities\LatLong |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Create a new latitude and longitude object. |
||
| 15 | * @param double $lat The latitude co-ordinate. |
||
| 16 | * @param double $lng The longitude co-ordinate. |
||
| 17 | */ |
||
| 18 | 28 | public function __construct($lat, $lng) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * Returns a GeoJSON compatible LatLng array in the reversed format. |
||
| 25 | * @return array |
||
| 26 | */ |
||
| 27 | 22 | public function lngLatArray() |
|
| 31 | } |
||
| 32 |