@@ -28,7 +28,10 @@ class Location extends Model {
}
public function getGeolocation() {
- return [$this->latitude, $this->longitude];
+ return [
+ doubleval($this->latitude),
+ doubleval($this->longitude)
+ ];
public function getPhotos() {