boolder-org / boolder-ios

Boolder iOS app https://www.boolder.com/en/app
MIT License
10 stars 2 forks source link

Don't zoom out when tapping on locate button #16

Open nmondollot opened 1 year ago

nmondollot commented 1 year ago

On the map, when the user taps on the "locate" button in the bottom right corner, we currently center the map on the current location + we set the zoom level at 17 (code)

This behavior can be annoying when you're already at a higher zoom (example: you're right in front of a boulder, and you walk to another boulder)

=> let's zoom to 17 only if current zoom is lower than 17, otherwise keep the current zoom