From 94cb2487a003a24ae546271f5e6ba5161df8dfb4 Mon Sep 17 00:00:00 2001 From: relocity-rd <46832356+relocity-rd@users.noreply.github.com> Date: Thu, 29 Jun 2023 12:48:57 -0700 Subject: [PATCH] Update SpatialExpression.php --- src/Eloquent/SpatialExpression.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Eloquent/SpatialExpression.php b/src/Eloquent/SpatialExpression.php index 7bc88178..5c265ab5 100644 --- a/src/Eloquent/SpatialExpression.php +++ b/src/Eloquent/SpatialExpression.php @@ -15,4 +15,14 @@ public function getSpatialValue() { return $this->value->toWkt(); } + + public function getLat() + { + $this->value->getLat(); + } + + public function getLng() + { + $this->value->getLng(); + } }