On Nov 10, 11:40 am, William <[EMAIL PROTECTED]> wrote:
> marker = new GMarker(point,icon)

That's been deprecated since v2.50. The better syntax is

var myCustomIcon = new GIcon();
...
var marker = new GMarker(point,{icon:myCustomIcon})

And of course, just to be absolutely clear, the custom icon has to be
defined before it's used.

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