Outdooractive / route-me

Open source map library for iOS
Other
122 stars 400 forks source link

fix normal scrolling of map when annotations can be dragged #98

Closed incanus closed 12 years ago

incanus commented 12 years ago

I had not done anything with dragging annotations yet, but when I tried, I noticed that any annotations with enableDragging turned on would cause the map view itself to no longer be scrollable. This fix notices when the annotation drag UIPanGestureRecognizer is hitting just the overlay and not an actual annotation and bails out in order to allow the default scrollview UIPanGestureRecognizer to work.

incanus commented 12 years ago

This also appears to solve the problems seen some time back (can't seem to find the ticket right now) of pinch gestures starting partially on annotations not zooming the map.

trasch commented 12 years ago

The ticket was Alpstein/route-me/#48 which was fixed a while ago... :)