r00tat / wificompass

Automatically exported from code.google.com/p/wificompass
9 stars 10 forks source link

Set pivot point on site map to user position #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the improvement / request:

If the Pivot point is set to the user position, the map rotates with the user. 
Maybe this could be used to improve auto rotating

Original issue reported on code.google.com by paul.woe...@gmail.com on 26 May 2012 at 4:33

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 2477d6da4a6e.

Made the Site Map automatically rotate around the user icon. Rotating
works perfectly, but when the user icon is moved, everything flaps
around. The reason therefore is that the pivot point of the Site Map is
set when the user icon is dragged, and at the same time, the absolute
position of the user (and the other sub-drawables) is immediately
recalculated using that new pivot point. Therefore, the problem is going
round in circles.

Original comment by tkon...@gmx.net on 29 May 2012 at 9:01

GoogleCodeExporter commented 9 years ago
This issue was updated by revision db8828067e33.

Continued to implement the rotation of the Site Map around the
UserDrawable. Hairy stuff.

Original comment by tkon...@gmx.net on 29 May 2012 at 9:01