Override mapView animation on visibleMapRect change

Viewed 12

I want to make a specific animation everytime I set a new visible rect, not to use the one that is already there. I find the animation zoom in/zoom out really strange for my case.

I'm using the following function:

setVisibleMapRect(currentMap, edgePadding: padding, animated: false)

I already tried to put the function call inside UIView.animate {} but it didn't work.

Is there a way to override the animation?

0 Answers
Related