From 73c57c1ad0475dfae29721010e5bd2bd4d74c84b Mon Sep 17 00:00:00 2001 From: antarsaha9 <77407676+antarsaha9@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:21:56 +0530 Subject: [PATCH] fix(google-maps): correctly apply CapacitorGoogleMapsPoint y value (#1800) Co-authored-by: jcesarmobile --- .../capacitorjs/plugins/googlemaps/CapacitorGoogleMapsPoint.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-maps/android/src/main/java/com/capacitorjs/plugins/googlemaps/CapacitorGoogleMapsPoint.kt b/google-maps/android/src/main/java/com/capacitorjs/plugins/googlemaps/CapacitorGoogleMapsPoint.kt index 5234873f5..c37087191 100644 --- a/google-maps/android/src/main/java/com/capacitorjs/plugins/googlemaps/CapacitorGoogleMapsPoint.kt +++ b/google-maps/android/src/main/java/com/capacitorjs/plugins/googlemaps/CapacitorGoogleMapsPoint.kt @@ -12,7 +12,7 @@ class CapacitorGoogleMapsPoint() { } if(fromJSONObject.has("y")) { - this.x = fromJSONObject.getDouble("y").toFloat() + this.y = fromJSONObject.getDouble("y").toFloat() } }