[Google Maps API v3] Re: What am I missing here?

2012-01-02 Thread Rossko
sorry, my bad. here it is:http://utopic.nfshost.com/newmapcanvas.html I get a straightforward javascript error upon clicking the button, 'map' is not defined. Your 'map' variable was defined locally in your initialize() function, so that it is not available later in the global scope that button-

[Google Maps API v3] Re: What am I missing here?

2012-01-02 Thread Alan Pearce
The map variable is declared in the initialize function so it is not available in the callafunction function. -- You received this message because you are subscribed to the Google Groups Google Maps JavaScript API v3 group. To view this discussion on the web visit

[Google Maps API v3] Re: What am I missing here?

2012-01-01 Thread Marcelo
On Jan 1, 5:09 pm, Dan dan@gmail.com wrote: Hi, after the page has allready loaded I'm trying to get another javascript function to add a marker on the loaded map. The below is a short version of what I'm trying to do based on the API examples, but it does not add the marker... what am I

[Google Maps API v3] Re: What am I missing here?

2012-01-01 Thread Dan
sorry, my bad. here it is: http://utopic.nfshost.com/newmapcanvas.html On Jan 1, 7:59 pm, Marcelo marcelo...@hotmail.com wrote: On Jan 1, 5:09 pm, Dan dan@gmail.com wrote: Hi, after the page has allready loaded I'm trying to get another javascript function to add a marker on the loaded