Already did it as you may see but didn't solve the problem =/ On Sat, Sep 19, 2009 at 2:40 PM, Pil (Trustworthy from Experience) < [email protected]> wrote:
> > > > On Sep 19, 3:32 pm, António Miguel Ribeiro > <[email protected]> wrote: > > So it means I just need to make the map variable global? That would solve > > the problem? > > Yes, declare map outside of any function > > var map; > > and inside the load function skip the var > > map = new GMap2(document.getElementById("map")); > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-api?hl=en -~----------~----~----~----~------~----~------~--~---
