venits / react-native-map-clustering

React Native map clustering both for Android and iOS.
695 stars 220 forks source link

animationEnabled not working #252

Open MarcHbb opened 1 year ago

MarcHbb commented 1 year ago

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,
    }}
>
IslamRustamov commented 1 year ago

Hi, @MarcHbb, is it possible for you to share a video of how it looks? Also what device do you use to test it?

MarcHbb commented 9 months ago

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