kstukstu / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
0 stars 0 forks source link

markerclusterer.js: getTotalMarkers incorrect (copy/paste error :) ) #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
getTotalMarkers just returns the array of markers, as oppossed to the array 
length
Seems a copy/paste of getMarkers

/**
 *  Returns the array of markers in the clusterer.
 *
 *  @return {Array.<google.maps.Marker>} The number of markers.
 */
MarkerClusterer.prototype.getTotalMarkers = function() {
  return this.markers_;
};

Original issue reported on code.google.com by mitchell...@gmail.com on 13 Jul 2010 at 3:05

GoogleCodeExporter commented 9 years ago
Hi.

I've committed my fix to a public location if anyone needs it (def was not 
rocket science :) )

http://github.com/plank/MarkerClusterer/commit/1409207480a3002739af414d5864a207c
b4bfdc1

Original comment by mitchell...@gmail.com on 30 Jul 2010 at 8:29

GoogleCodeExporter commented 9 years ago
Thanks for pointing that out.

Original comment by lu...@google.com on 6 Oct 2010 at 12:23