Hi Andy,

It is possible, but you will have to modify the MarkerClusterer code.

It would essentially work by setting marker.myValue = SomeNumber; for each
marker before you add it to the MarkerClusterer, then modifying the code
that displays the count to instead sum up the values and display that
instead.

Hope this helps

-- Luke


On Wed, Dec 8, 2010 at 10:35 PM, andy_hubb <[email protected]> wrote:

> Hi,
>
> I'm trying to create a map with a large number of markers (>10,000),
> each of which are associated with a value.
>
> I like the look of the MarkerClusterer script to overcome the 'too
> many markers' problem,  but would like to be able to cluster markers
> by value.
>
> e.g. cluster markers in close proximity and display the sum of the
> values of the markers that have been clustered! (rather than the
> number of markers in the cluster).
>
> Is this possible?  Any suggestions would be appreciated!
>
> Thanks,
>
> Andy
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to