Wasn't it jordicakephp who wrote:
>
>Thanks a lot for your help, Mike.
>
>I'm finally testing my applications with this code:
>
> function iniciar(){
>      if (GBrowserIsCompatible()){
>         var mapa = new GMap2(document.getElementById
>("division_mapa"));
>         mapa.addControl(new GSmallMapControl());
>         directions = new GDirections(mapa);
>         directions.load("from: New York, USA to: Anchorage");
>         setTimeout("directions.getMarker(0).openInfoWindowHtml('Hola
>mundo')",5000);
>      }
>   }


GEvent.addListener(directions,"load",function() {
   directions.getMarker(0).openInfoWindowHtml('Holamundo');
});


-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to