Re: Window opening in wrong place
I think the problem is that your GEvent is wired to a global variable
(marker). Every time you add a new marker you link the GEvent to the
latest marker. This is why the infowindow always displays over the last
marker you added.
Try rewriting your script so that markers are created in a function
where you also link the GEvent, like in the documentation example:
http://www.google.com/apis/maps/documentation/#Display_Info_Windows_Above_Marke
jjrdk
jack.utano wrote:
> Greetings
>
> I am having a problem with the window not opening in the directly over
> a marker.
>
> Please check
> http://www.alhloghomes.com/googlehomesmap.php?r=100&z=&s=AL&c=florence
>
>
> and click on a couple of the markers to see the problem.
>
>
> Jack
0 Comments:
Yorum Gönder
<< Home