liangzi7 / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

Remove calls to getScaleX()/getScaleY() in SafeDrawOverlay #479

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In SafeDrawOverlay when we translate the coordinates, we use getScaleX/Y(). I 
don't know what the original intention was for this, but it is unnecessary. 
Since we don't call setScaleX/Y() on the view, the getter will always return 1. 
We should remove that and just use the regular canvas.translate() which works 
in all APIs.

Original issue reported on code.google.com by kurtzm...@gmail.com on 13 Sep 2013 at 2:56

GoogleCodeExporter commented 9 years ago

Original comment by kurtzm...@gmail.com on 13 Sep 2013 at 2:56

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1438.

Original comment by kurtzm...@gmail.com on 26 Feb 2014 at 8:54