WootWoot1234 wrote:
> Thanks for the reply.
>
> I tried:
> var html = "<a href='#' onclick='marker.setImage(\"images/test.png
> \")'>Click Me</a>"
> but it didn't work.
>
> Any ideas?

What errors are you seeing?

Is marker global?  It needs to be.  Please follow the posting
guidelines and post a link to your map that shows the problem rather
than code.
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines

  -- Larry

>
> Thanks again.
>
>
>
>
> On Nov 27, 3:58�pm, Esa <[EMAIL PROTECTED]> wrote:
> > GMarker.setImage(url) is the method you should call by onclick.
> >
> > http://code.google.com/apis/maps/documentation/reference.html#GMarker...
--~--~---------~--~----~------------~-------~--~----~
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