On Sep 18, 1:40 pm, lusiton <[EMAIL PROTECTED]> wrote: > I fixed the page. It works now. > Thank you all.
The infoWindowAnchor of (0,0) is putting the stem of your infoWindow in a different place than I would want (upper left corner of the icon). That may be what you want though... > > On Sep 18, 3:26 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > On Sep 18, 10:24 am, lusiton <[EMAIL PROTECTED]> wrote: > > > > 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 theminfowindowopens 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... > > > If you had read and done this, you wouldn't have thatproblem... > > > > It would be best to modify your createMarker function to take an > > > "icon" argument... > > > -- Larry > > > > > > 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 -~----------~----~----~----~------~----~------~--~---
