Skip to content

Commit df1b795

Browse files
committed
Update
1 parent 7024fb4 commit df1b795

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"react": "16.8.3",
1313
"react-dom": "16.8.3",
1414
"react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz",
15-
"react-native-map-clustering": "^3.4.0",
15+
"react-native-map-clustering": "^3.4.1",
1616
"react-native-maps": "^0.26.1",
1717
"react-native-web": "^0.11.7"
1818
},

lib/ClusteredMapView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ const ClusteredMapView = forwardRef(
142142
if (animationEnabled && Platform.OS === "ios") {
143143
LayoutAnimation.configureNext(layoutAnimationConf);
144144
}
145-
if (zoom >= 18 && markers.length > 0) {
145+
if (zoom >= 19 && markers.length > 0 && clusterChildren) {
146146
if (spiralEnabled) updateSpiderfier(true);
147147
} else {
148148
if (spiralEnabled) updateSpiderfier(false);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-map-clustering",
3-
"version": "3.4.0",
3+
"version": "3.4.1",
44
"description": "React Native Map Clustering both for Android and iOS",
55
"types": "index.d.ts",
66
"main": "index.js",

0 commit comments

Comments
 (0)