On Jan 9, 3:51 pm, Garrett Lynch <[email protected]> wrote: > Hi > > I'm trying to create a map for iphone which re-centres everytime the iphone > position updates. I have most of it working (see below) i.e. retrieving > position, showing map etc. but I'm stuck on starting the map centred at the > position retrieved and then moving it as it updates. Pretty sure it's > something simple, everything seems to be there but perhaps map.panTo and > map.setCenter are V2? > > Any help or suggestions much appreciated. Thanks in advance.
Did you try the documentation? I see at least one thing that is definitely v2 (GLatLng - the change from the G* namespace to the google.maps namespace is one of the major differences), that should give you obvious javascript errors. As you didn't follow the posting guidelines so I can use a debugger on your code, you will have to... -- Larry > > Garrett > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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/google-maps-js-api-v3?hl=en.
