Hello Lerry and Thank you for your response.
I tried to make some changes to the code and I can now open 2 windows
of three but on one of them info window opens above the different
icon. If you or some body else could point me in the right direction
it would be great. I now that I'm missing something but can't say
clearly what and how to fix it.

Thank you in advance.

the link is :
http://www.culyo.com/test.php


On Sep 18, 12:13 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Sep 17, 9:08 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Sep 17, 8:38 pm, lusiton <[EMAIL PROTECTED]> wrote:
>
> > > Hi all.
> > > I'm new to gmaps and don't have much experience to solve simple
> > > problems yet. I createdcustomIconbut can't make theinfowindow
> > > appear on click. I have regular icons that work fine.
>
> > > This is a page url:http://www.culyo.com/test.php
>
> > You are doing this:
> >       var marker = new GMarker(point,baseIcon,'<div style="width:
> > 240px">Some stuff to display in the FirstInfoWindow. With a <a
> > href="http://www.econym.demon.co.uk";>Link</a> to my home page</div>')
>
> > That is not the correct syntax for the GMarker constructor (the API
> > had a currently deprecated syntax which took more than 2 arguments,
> > you don't want to use 
> > that...)http://code.google.com/apis/maps/documentation/reference.html#GMarker...
>
> > It would be best to modify your createMarker function to take an
> > "icon" argument...
>
> > See the examples in Mike Williams' tutorial.
>
> You also have an error in your createMarker function:
>     var marker = new GMarker(point,html);
> the "html" argument is incorrect, that is where the GInfoWindowOptions
> object (or theicon) should go.  The GMarker doesn't have an argument
> appropriate for the html in the infoWindow.
>
>    -- Larry
--~--~---------~--~----~------------~-------~--~----~
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