Jan Koziński

Results 30 comments of Jan Koziński

Hi, that's because the calculation of zoom level doesn't take into account the map's rotation. I'll try to find a better algorithm

The problem lays a bit deeper than just the map rotation. The hybrid flyover map is a globe without mercator projection. The cuurent zoom counting algo is designed for flat...

Hi @subtleGradient I made a fix so you might want to see if that addresses your issue in PR #4892

Hi, I used your code sample on physical IP 14 Pro w/ ios17, on IP 15 simulator w/ ios 17 and on IP 14 simulator w/ ios 16. The onPanDrag...

Hi, MarkerAnimated is no longer exported from the library. You should create it yourself with one line. ```typescript const MarkerAnimated = Animated.createAnimatedComponent(Marker); ``` See how it's done in `src/examples/AnimatedMarkers.tsx:14`. The...

Hi, thanks for reporting! I'll look into that

There is only one touch event fired on Apple maps. Enabling Google Maps allows us to detect multiple touches. I suppose it might be related to the AIRGoogleMap.m method `overrideGestureRecognizersForView`...

We're working to find a solution for you @lorenzomilesi , in the mean time you can try adding react-native-gesture-handler and defining the isPinch function as in https://github.com/react-native-maps/react-native-maps/issues/4247#issuecomment-1283569058

As an alternative you can monkey-patch the library to add ` @"numberOfTouches": @(recognizer.numberOfTouches)` to line 713 in AIRMapManager.m and change `onTouchStart` in your react component to `onPanDrag={e => && setIsDrawing(e.nativeEvent.numberOfTouches...

unfortunately other events described under "Gesture Recognizer Handlers" pragma do not work well with number of touches. Either they don't fire at all when using more figners, or they don't...