Search code examples
iosswiftgoogle-mapsgmsmapview

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


Solution

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

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