The MyLocationOverlay can be optimized to reduce wasted CPU cycles. Two things
jump out:
1. We are invalidating the entire maps on every location update. We should only invalidate the little man icon and the accuracy circle (if enabled).
2. We are calculating coordinates on every draw cycle. We should calculate this once and store the MAX_ZOOM x,y coordinates and shift down to the appropriate zoom level.
This will give us back a very nice slice of CPU!
Original issue reported on code.google.com by kurtzm...@gmail.com on 13 Sep 2012 at 6:05
Original issue reported on code.google.com by
kurtzm...@gmail.com
on 13 Sep 2012 at 6:05