boolder-org / boolder-android

Boolder Android app https://www.boolder.com/en/app
MIT License
28 stars 12 forks source link

Fix circuit filter zoom when over a large area #59

Closed wang-li closed 1 year ago

wang-li commented 1 year ago

When filtering on a circuit that spreads over a large area, the zoom was getting so low that it deactivated the area detector and then the circuit filter. This got fixed by limiting the zoom to a minimum value of 15.0.

https://github.com/boolder-org/boolder-android/assets/8343416/c5f1c1ee-b7c3-40d0-9b29-483be97065cf

There is still a special case for the black circuit of Cuvier that spans over several areas, for which the camera movement triggers a change of area and therefore unselected the the circuit (#58).

Resolves #56