On Oct 5, 11:09 am, Jake <[email protected]> wrote:
>
> I have noticed that the click event only fires over the iconAnchor
> point.
>
> Is this right?

I expect your description is accurate!

> Is it possible to have the click event fire over the whole of the
> marker?
>
> Am I not understanding something key about this (most probable)?

Yes: have a look at http://econym.org.uk/gmap/custom.htm -- you need
to define click areas either as a transparent overlay for your marker
image or as an imagemap. Mike doesn't explicitly cover the imagemap in
the tutorial, but I believe it's an array of pairs of numbers
representing the vertices of the clickable area. In his example the
first two coordinates are (9,0) and (6,1) and the boundary goes anti-
clockwise around the clickable area. (0,0) is the top-left-hand corner
of the marker image.

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