Gordon JC Pearce
unread,Jun 28, 2012, 1:02:27 PM6/28/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to osm-g...@googlegroups.com
On 27/06/12 15:10, redzero wrote:
> Hi,
>
> how can i rotate all map around its center point?
>
> It can be usefull always showing heading of gps as upside for navigation.
You can't. The map tiles are prerendered squares with all the labels
on. What you *could* do is use cairo to draw the map window and rotate
the cairo surface, but that would make all the writing rotate too. You
could fake it by drawing your own map tiles at various resolutions, and
just having say eight rotations.
The only real way to do it would be to get the planet data and draw a
vector map in real time.
--
Gordonjcp MM0YEQ