Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
2 |
jpm |
1 |
<?php
|
|
|
2 |
class GeoPoint {
|
|
|
3 |
public $latitude;
|
|
|
4 |
public $longitude;
|
|
|
5 |
|
|
|
6 |
public function __construct($lat, $lng) {
|
|
|
7 |
$this->latitude = (float) $lat;
|
|
|
8 |
$this->longitude = (float) $lng;
|
|
|
9 |
}
|
|
|
10 |
}
|
|
|
11 |
?>
|