Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

xArtx

macrumors 6502a
Original poster
Mar 30, 2012
764
1
Hi Guys,
Not sure this is the right place for help, but, I'm writing my first iPhone app
which is a vector GPS, and it's going great :)

AVEC.png


So simple, even it's author can use it.

I can rotate all points of the map around the centre of the screen
(which is the user's position), but having trouble with the procedure
to rotate the background grid.

In north up mode I just draw straight lines from one edge of the screen to the other. the points to connect those lines are at the edge of the screen.
Rotating those points shortens the lines, and rotating them around the centre
does not preserve the square shape of the grid or accuracy of it's lines.

Any ideas here?
Thanks, Art.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.