Skip to content

Commit 6d1dbb1

Browse files
committed
fix(android): current camera getter
1 parent c952dd4 commit 6d1dbb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

android/src/main/java/com/rngooglemapsplus/GoogleMapsViewImpl.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ class GoogleMapsViewImpl(
250250
}
251251
}
252252

253-
val currentCamera: CameraPosition? = googleMap?.cameraPosition
253+
val currentCamera: CameraPosition?
254+
get() = googleMap?.cameraPosition
254255

255256
var initialProps: RNInitialProps? = null
256257

0 commit comments

Comments
 (0)