File tree 1 file changed +0
-8
lines changed
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -2221,14 +2221,6 @@ export class Mapbox extends MapboxCommon implements MapboxApi {
2221
2221
theMap [ 'mapTapHandler' ] = MapTapHandlerImpl . initWithOwnerAndListenerForMap ( new WeakRef ( this ) , listener , theMap ) ;
2222
2222
const tapGestureRecognizer = UITapGestureRecognizer . alloc ( ) . initWithTargetAction ( theMap [ 'mapTapHandler' ] , 'tap' ) ;
2223
2223
2224
- // cancel the default tap handler
2225
- for ( let i = 0 ; i < theMap . gestureRecognizers . count ; i ++ ) {
2226
- const recognizer : UIGestureRecognizer = theMap . gestureRecognizers . objectAtIndex ( i ) ;
2227
- if ( recognizer instanceof UITapGestureRecognizer ) {
2228
- tapGestureRecognizer . requireGestureRecognizerToFail ( recognizer ) ;
2229
- }
2230
- }
2231
-
2232
2224
theMap . addGestureRecognizer ( tapGestureRecognizer ) ;
2233
2225
2234
2226
resolve ( ) ;
You can’t perform that action at this time.
0 commit comments