react-native-map-clustering icon indicating copy to clipboard operation
react-native-map-clustering copied to clipboard

[FEATURE REQUEST] Support of Animated map

Open davx1992 opened this issue 5 years ago • 4 comments

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.

davx1992 avatar Feb 20 '20 11:02 davx1992

How can I implement this manually until a feature is out? Could you help please

egecavusoglu avatar Apr 10 '20 18:04 egecavusoglu

@egecavusoglu Hi, I forked repository and added needed changes in my fork. If you need animated map, you can download my fork.

davx1992 avatar Apr 12 '20 15:04 davx1992

hello @egecavusoglu not able to find froke repo can you share link

dhumal436 avatar Mar 10 '22 13:03 dhumal436

I don't think I was able to figure this out, probably went with a workaround. Sorry mate.

egecavusoglu avatar Mar 19 '22 15:03 egecavusoglu