This is my first attempt to use the Maps API and I'm just trying a simple example in which I'll type the address in a box and it will show in the map (it is still hardcoded on the address variable though).
The problem is I wanted the page to load with a default map, and show the correct map only after the user clicks on the button. If I just call the function from my load() function, initializing the map with the correct address, it works. But if I initialize with my default location and call the function when the user clicks the button, the map flickers but it doesn't change. There are no errors in the console. Adding some alert boxes it looks like it is not calling the function from the callback at geocode.getLocations(address, addToMap); Address of the application is: http://banix.info/onibus/ What is wrong? Thank you, Vanessa --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
