On Aug 31, 1:24 am, Jake <[email protected]> wrote: > I'm looking for information on the iconAnchor property. > > I have a small cicular icon 16x16px, and events tend to be touchy. But > if I define the iconAnchor as the same size as the icon, shouldn't > that be fine?
Not really, because iconAnchor is not a size, but a point (1 pixel). It is the pixel of the icon that will coincide with the pixel that represents the lat/lon of the marker on the map. So, as Mike said, for a circle it is probably best to use the center, while the default Google icon has the anchor at the bottom tip. -- Marcelo - http://maps.forum.nu -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
