Thank you so much for all your help Andrew!

One thing, I didn't understand your last bit about tweaking the custom
icon?!

you mean change size of anchor?
I can only click right in the middle of my icon like in a 5px X 5px
clickable area?!


Andrew Leach wrote:
> On 26 May 2010 12:23, [email protected]
> <[email protected]> wrote:
> > ok, I have markers on my map that I can now click on and show info but
> > no custom marker?!
>
> Yup. That works well. Now define your custom marker in the way you did
> -- I think you called it locationIcon -- so that you end up with
>   var markerOptions = {icon:locationIcon}
> again.
>
> Then: change this line -- currently at line 162 inside the
> createMarker function --
>   var marker = new GMarker(point);
> into
>   var marker = new GMarker(point,markerOptions);
> and you should gain an Uncle Bob.
>
> Once that's done, it's likely you will need to tweak the custom icon
> definition in order to make the clickable area match that image rather
> than Google's "teardrop" shape.
>
> --
> Andrew C Leach

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