Thanks! I feel like and idiot. I actually had the map declared as a global variable before copying and pasting into one html file for the post...but the main problem was that I declared the variable twice, once as a global and once inside the function.
Thanks for the debuging help, I would have caught that in scripting languages that I know better than java. On Jun 20, 4:54 pm, Ralph Ames <[email protected]> wrote: > Define the map variable in global scope > > var map; > function GoogleLoadMap() { > > and remove the var from this line > var map = new google.maps.Map(document.getElementById("MyMap"), myOptions); > > Ralph > -www.easypagez.com/maps/map_index.htmlwww.easypagez.com/maps/v3_basicmap.html > > -- > 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 > athttp://groups.google.com/group/google-maps-js-api-v3?hl=en. -- 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.
