I figured out my problem was that I stuck // This function picks up the click and opens the corresponding info window function myclick(i) { GEvent.trigger(marker[i], "click"); }
in the wrong part of the script.
I figured out my problem was that I stuck // This function picks up the click and opens the corresponding info window function myclick(i) { GEvent.trigger(marker[i], "click"); }
in the wrong part of the script.