mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Is there a way to prevent the user from offsetting the camera from the center of the view?

Open JohnRoxMySox23 opened this issue 2 years ago • 1 comments

Hello everyone,

First, I would like to thank you for this great tool. I would like to prevent the user from offsetting the camera, with letting him the ability to rotate or zoom/unzoom the camera - actually, I would like to achieve the same behaviour than in Pokemon Go.

I searched for this on StackOverflow and found this thread, but it doesn't seem still valid. I couldn't find the MGLMapView class or the shouldChangeFrom: to: delegate method.

Could you give me some help about this?

Thank you very much.

JohnRoxMySox23 avatar Mar 23 '23 18:03 JohnRoxMySox23

Hi, just to make sure, which version of the SDK are you using?

baleboy avatar Apr 14 '23 09:04 baleboy