diff --git a/example/package.json b/example/package.json index 973afee..c6fb987 100644 --- a/example/package.json +++ b/example/package.json @@ -12,7 +12,7 @@ "react": "16.8.3", "react-dom": "16.8.3", "react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz", - "react-native-map-clustering": "^3.0.5", + "react-native-map-clustering": "^3.0.6", "react-native-maps": "^0.26.1", "react-native-web": "^0.11.7" }, diff --git a/lib/ClusteredMarker.js b/lib/ClusteredMarker.js index 8897ad7..1383b0e 100755 --- a/lib/ClusteredMarker.js +++ b/lib/ClusteredMarker.js @@ -20,10 +20,10 @@ const ClusteredMarker = ({ latitude: geometry.coordinates[1] }} style={{ zIndex: points + 1 }} + onPress={onPress} >