mapbox / mapbox/mapbox-maps-flutter
mapbox view with location enabled heating the phone too much
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 380
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
During testing on a Samsung galaxy A52S 5g I have noticed the phone heating a lot when the mapbox default location marker is enabled compared to if it is disabled.
I am using the following to set the location enabled:
_mapController?.location.updateSettings(LocationComponentSettings(enabled: true));
Have someone else noticed similar behaviour?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the heating reported on a Samsung Galaxy A52S 5G with the Mapbox default location marker enabled and disabled. Trace the _mapController?.location.updateSettings(LocationComponentSettings(enabled: true)) entry point; done means identifying and addressing the excess heat or documenting that it cannot be reproduced.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100