diff --git a/src/Types/Point.php b/src/Types/Point.php
index 40719af4..188bf9d1 100644
--- a/src/Types/Point.php
+++ b/src/Types/Point.php
@@ -38,6 +38,14 @@ public function setLng($lng)
$this->lng = (float) $lng;
}
+ public function toArray()
+ {
+ return [
+ 'lat' => $this->getLat(),
+ 'lng' => $this->getLng(),
+ ];
+ }
+
public function toPair()
{
return $this->getLng().' '.$this->getLat();