Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GMSMapView Energy Impact

I'm currently using a GMSMapView in my swift app, and the energy impact is never decreasing ( as the CPU usage or Memory usage ).

Did anyone already faced this issue ?

Using Google Maps 2.0.1

Xcode Monitoring

Energy impact

like image 989
CZ54 Avatar asked Aug 29 '16 15:08

CZ54


1 Answers

I Found the answer myself. It is related to GMSMarker.tracksViewChanges property.

Turning it to false for all added markers has released the CPU.

like image 51
CZ54 Avatar answered Sep 19 '22 21:09

CZ54