react-native-map-clustering
react-native-map-clustering copied to clipboard
animationEnabled not working
This is my MapView, don't know why it's not working
<MapView
animationEnabled={true}
onMapReady={() => setIsMapReady(true)}
ref={mapView}
onClusterPress={(cluster, markers) => manageMapPress("cluster", cluster, markers)}
preserveClusterPressBehavior
clusterColor={clusterColor}
clusterTextColor={colors.white}
provider={PROVIDER_GOOGLE}
followsUserLocation
style={[styles.map]}
customMapStyle={DARKMAP}
showsUserLocation={true}
onPress={() => manageMapPress("map")}
initialRegion={region || DEFAULT_REGION}
showsMyLocationButton={false}
initialCamera={{
center: {
latitude: region?.latitude,
longitude: region?.longitude,
},
heading: 0,
pitch: 0,
altitude: 0,
zoom: 4.8,
}}
>
Hi, @MarcHbb, is it possible for you to share a video of how it looks? Also what device do you use to test it?
https://github.com/venits/react-native-map-clustering/assets/15633836/0503eaeb-3a97-40e4-a3ee-ec9ee7e1c85e
We can see that markers are animated (custom animation from reanimated) but clusters are not imploding / exploding