avlsocialconnect / osmdroid

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

Mini-map doesn't support rotation #412

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The mini-map display area rotates with the main map. A small re-write of the 
drawing code in the mini-map (and maybe a clean up of TilesOverlay) would 
probably be a good idea.

Original issue reported on code.google.com by kurtzm...@gmail.com on 27 Mar 2013 at 1:55

GoogleCodeExporter commented 9 years ago
It also should scale it's own size based on screen size. It's super-tiny on the 
Nexus 10.

Original comment by kurtzm...@gmail.com on 27 Mar 2013 at 1:55

GoogleCodeExporter commented 9 years ago
This is quite complicated - we want to draw *rotated* tiles to an *unrotated* 
canvas. I think the best solution here is to draw the rotated tiles to a bitmap 
and then draw the bitmap to the unrotated canvas. The mini-map usually isn't 
too large so the memory increase should be reasonable.

Original comment by kurtzm...@gmail.com on 12 Apr 2013 at 12:50