Thanks guys. On Mar 13, 7:36 pm, Victor Hudson <[email protected]> wrote: > Come to think of it why haven't they coded it > to reorient the map(travel direction always up) on a 3G the way it does on a > 3Gs. I know 3Gs does it with a compass, but the 3G could do it via code as > long as you are moving, much like your Speedo works.
I have tested doing map re-orientation using the heading property. It does take quite a while to get a heading value to start returning an actual value, the faster you move the quicker it works it out. Doing it in a web app would be a nightmare though, the rotation is easy but on rotation you have to rotate overlays back so you don't get upside down markers/info bubbles. Then there is trying to manage the touch events that get screwed up because of the rotation, flip it 180 the events are inverted up is down, left is right etc. That could be avoided by rotating the map tiles rather than the container but I imagine that would still cause headaches. -Ryan -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
