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 created custom Icon but can't make the info window
> 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 First Info Window. 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.Constructor

It would be best to modify your createMarker function to take an
"icon" argument...

See the examples in Mike Williams' tutorial.

  -- 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