Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
to fix my problem i use following event listener
google.maps.event.addListener(clusterer, 'clusterclick', function (cluster) {
var mrkrs = cluster.getMarkers();
var bnds = new google.maps.LatLngBounds();
$.each(mrkrs, function(i, m){
bnds.extend(m.getPosition());
});
map.fitBounds(bnds);
});
but i think it's not so good, as native "cluster zoom onClick"
Original comment by leafin...@gmail.com
on 19 Nov 2010 at 4:45
There is native zoomOnClick.
Line 991
http://code.google.com/p/google-maps-utility-library-v3/source/browse/trunk/mark
erclusterer/src/markerclusterer.js
Do you have a link to your site that shows that it doesn't work? Because it
works fine on the example -
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/e
xamples/simple_example.html
Original comment by lu...@google.com
on 5 Dec 2010 at 11:03
Original comment by lu...@google.com
on 31 Mar 2011 at 6:02
Original issue reported on code.google.com by
leafin...@gmail.com
on 19 Nov 2010 at 4:01