Which marker do you want to have it's infowindow automatically open
when the map loads?

After that marker is created you could trigger a click on it.
So to make the map open with the following marker's infowindow open
you'd change:

var point = new GLatLng(52.055278, 1.154702);
var marker = createMarker(point,'Turret Lane Parking')
map.addOverlay(marker);

to:

var point = new GLatLng(52.055278, 1.154702);
var marker = createMarker(point,'Turret Lane Parking')
map.addOverlay(marker);
GEvent.trigger(marker, 'click');

More info at:
http://code.google.com/apis/maps/documentation/reference.html#GEvent

Martin.


On 12 Oct, 17:02, BenB <[email protected]> wrote:
> HUUGE Thanks! Working now! Brilliant!
>
> Think I made the icons a little large though, will change that
> tomorrow.
>
> I'dnow would like to figure out how to get the info window open on
> load and things like that.
> Is there any simple code to do that?
>
> Thanks for your help !
--~--~---------~--~----~------------~-------~--~----~
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