Re: GEvent.addListener help
Felipe,
Make your map variable global. That should do it. To do so, just
declare it outside of your onLoad function with var map ;.
The reason for this is that the listener is called after the function
onLoad finishes, at which time the map variable loses scope. Everything
you coded in the onLoad function basically disappears at that point.
-John
http://maps.huge.info
0 Comments:
Yorum Gönder
<< Home