On 16 January 2011 16:26, Andi Stancu <[email protected]> wrote:
> Update: Apparently it was caused by the icon option. I'm looking into it
> right now.

Yes. I can see you have that line commented out, and nothing fails.

{icon} requires a GIcon object, not a string.

You should create a GIcon, say
  var myicon = new GIcon();
  myicon.image = 'mymarker.png';
  // more settings are necessary

and then you can use it in the options:
  {icon: myicon}

Mike explains creating a custom marker: http://econym.org.uk/gmap/custom.htm

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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