Thanks for the info. MarkerClusterer always barfs when using a custom
icon. Using the hit test idea I implemented my own clusterer algorithm
and it works great.

Terry

On Jan 4, 11:25 pm, Matt S <[email protected]> wrote:
> Well, one way is to add all the individual markers, detect marker
> overlap, and hide/remove any marker overlapping another marker while
> saving them into relevant groups.  Here's a quick example of doing
> this for two markers:
>
> if(marker1.foreground.hitTestObject(marker2.foreground)) {
>                                         // They are overlapping, do something 
> here like remove/
> hide them and add a custom icon
>
> }
>
> That's the extreme simple example, but I think the key piece is
> knowing how to detect overlap.  The rest should be fairly simple.
> There's examples for custom icons at the main Google Maps API for
> Flash site.
>
> On Jan 4, 9:26 am, Terry Reinert <[email protected]> wrote:
>
> > Anyone know about this one?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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-for-flash?hl=en.

Reply via email to