update: Max resolution
MODIFY
src/android/plugin/google/maps/PluginMarkerCluster.java
src/android/plugin/google/maps/PluginMarkerCluster.java
@@ -76,7 +76,7 @@ public class PluginMarkerCluster extends PluginMarker {
for (int i = 0; i < positionList.length(); i++) {
position = positionList.getJSONObject(i);
- geocellList.put(getGeocell(position.getDouble("lat"), position.getDouble("lng"), 9));
+ geocellList.put(getGeocell(position.getDouble("lat"), position.getDouble("lng"), 12));
}
String id = "markercluster_" + callbackContext.hashCode();

MODIFY
src/ios/GoogleMaps/PluginMarkerCluster.m
src/ios/GoogleMaps/PluginMarkerCluster.m
@@ -65,7 +65,7 @@ BOOL recyleOption = NO;
position = [positionList objectAtIndex:i];
lat = [[position objectForKey:@"lat"] doubleValue];
lng = [[position objectForKey:@"lng"] doubleValue];
- [geocellList addObject:[self getGeocell:lat lng:lng resolution:9]];
+ [geocellList addObject:[self getGeocell:lat lng:lng resolution:12]];
}
NSString *clusterId = [NSString stringWithFormat:@"markercluster_%lu", command.hash];

MODIFY
www/MarkerCluster.js
www/MarkerCluster.js
@@ -182,6 +182,9 @@ MarkerCluster.prototype.redraw = function(force) {
resolution = currentZoomLevel > 11 ? 6 : resolution;
resolution = currentZoomLevel > 13 ? 7 : resolution;
resolution = currentZoomLevel > 15 ? 8 : resolution;
+ resolution = currentZoomLevel > 17 ? 9 : resolution;
+ resolution = currentZoomLevel > 19 ? 10 : resolution;
+ resolution = currentZoomLevel > 21 ? 11 : resolution;
//----------------------------------------------------------------
// Calculates geocells of the current viewport

update: Max resolution