react-native-map-clustering
react-native-map-clustering copied to clipboard
[FEATURE REQUEST] Support of Animated map
Hi @venits , I have noticed that by default library is using standard MapView, however according to React Native Maps there is also AnimatedRegion which is using RN Animated node to set current map region. As I see this is not supported by this package. To support AnimatedRegion MapView should be created as Aniamted component using this: Animated.createAnimatedComponent(MapView) . This is minor change, which could help lot of developers. It would be great if you could add new property which would check whether MapView should be animated or not, and then create Animated component.
P.S. if map created using Animated.createAnimatedComponent(MapView), reference will be available by this.map._component.
How can I implement this manually until a feature is out? Could you help please
@egecavusoglu Hi, I forked repository and added needed changes in my fork. If you need animated map, you can download my fork.
hello @egecavusoglu not able to find froke repo can you share link
I don't think I was able to figure this out, probably went with a workaround. Sorry mate.