Here is a working example:
http://neogismap.appspot.com/debugAndDemo/clickOnLoad/index.html
Bye, Davide
2010/6/29 Anees
> Hello
> have added a Listener to show a info for the Map marker as
>
> GEvent.addListener(marker, 'click', function() {
>marker.openInfoWindowHtml(html);
>
I did some tests and seems that the event cannot be triggered before the map
is loaded, therefore I trigger the event only on the map idle event,
google.maps.event.addListener(map, 'idle', function(){
google.maps.event.trigger(marker,'click');
});
You should call also the removeListener once
Try to trigger the event programmatically:
google.maps.event.trigger(marker,'click');
2010/6/29 Anees
> Hello
> have added a Listener to show a info for the Map marker as
>
> GEvent.addListener(marker, 'click', function() {
>marker.openInfoWindowHtml(html);
>});
>
> Now,
Hello
have added a Listener to show a info for the Map marker as
GEvent.addListener(marker, 'click', function() {
marker.openInfoWindowHtml(html);
});
Now,
How can show that html without clicking on the marker
I mean
immediately after the Map loads
tried 'load' instead o