Skip to content

Commit

Permalink
Maps: Limit FPS for location dot animations
Browse files Browse the repository at this point in the history
Reduces idle CPU usage
  • Loading branch information
mar-v-in committed Jul 6, 2023
1 parent bca01d0 commit 4439b84
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@ class GoogleMapImpl(context: Context, var options: GoogleMapOptions) : AbstractG
.build())
cameraMode = CameraMode.NONE
renderMode = RenderMode.COMPASS
setMaxAnimationFps(2)
}

synchronized(mapLock) {
Expand Down

0 comments on commit 4439b84

Please sign in to comment.