On Jan 15, 3:19 am, "warden [Andrew Leach - Maps API Guru]" <andrew.leac...@googlemail.com> wrote: > On Jan 15, 6:33 am, Zvarri <david.s.gall...@gmail.com> wrote: > > > > > Hopefully this can be resolved with general information, as I do not > > yet have this code uploaded for the client. > > Your map variable > var map = new GMap2(documentElement....); > needs to be global. That will make it accessible to (eg) onclick > events, which operate in global context: > <a onclick="map.setCenter(new GLatLng(...))"> > > If that's not sufficient to help, you will need to upload what you've > done so far so we can see it working [or not working].
Or try going through Mike Williams' tutorials: http://econym.org.uk/gmap/ He has working examples. -- Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---