-
|
My goal is to animate the camera following user location. A simple setup like this quickly warms up a google pixel 5 in a minute: Besides lowering fps or gps update frequency, what else can I do to reduce resource usage? Google maps runs completely cool in navigation mode, is it possible to achieve such efficiency? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Did you try both Locations Engines? Possibly the Google Location Engine is more efficient? https://maplibre.org/maplibre-react-native/docs/setup/library-customizations#location-engine |
Beta Was this translation helpful? Give feedback.
-
|
I have only tested with mock location app on Android. Our users rely on GPS most of the time. |
Beta Was this translation helpful? Give feedback.
I have only tested with mock location app on Android. Our users rely on GPS most of the time.
I guess I should set 30fps cap in our navigation mode anyway, and with that it uses ~10% battery for every minute on pixel 5 which is pretty good (still, just a bare minimum map).
Thank you.