Hi,
I saw this feature request for WebGMaps:
1361: Possibilty to use JavaScript library
Possibility to use one o several googlemap library.
For instance : http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.9/docs/reference.html
I liked the markerclusterplus library and it looked like it wouldn't take much to add so I thought I'd give it a shot.. It required the addition of 4 lines to UWebGMapsConst.
After line 113 add the script source (you can host this somewhere else incase it gets moved):
'<script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/src/markerclusterer_packed.js"></script>' + #13 +
A few lines down, after var map; add:
' var markerCluster;' + #13 +
Then, around line 480 after the var marker = new google.maps.Marker..., add this:
' markerCluster.addMarker(marker);' + #13 +
And finally, around like 830 after map = new google.maps.Map..., add:
' markerCluster = new MarkerClusterer(map, null, { averageCenter: true });' + #13 +