SKMapsCenter

MIT License
Swift
iOS

1 image

Author

Description

Maps (iOS, Swift) - maintain center while zooming.

Developed due to not being able to maintain the center position of a given location while zooming. Scrolling while zooming can't be bypassed using the current Maps API. Therefore, I've used an UIView on top of Maps to intercept pinch gestures, which is then used to animate the correct region. All default gestures has been added to the UIView in order to simulate the exact same user experience as with Maps.

Tags

Sponsored with ❤️ by Instabug

Instabug: Understand how your app is doing with real-time contextual insights from your users

Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.

Get Started Now