Camera bounds the right way? #968
-
|
Hello Team! Given the way I set my MapView and camera prop, setting bounds in this file crashes my screen. What is the right way I can follow. What I want to achieve in my application is having users only able to zoom in my country Rwanda only, he can't see out of Rwanda |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
You want to use |
Beta Was this translation helpful? Give feedback.
-
|
I try this following the above solution my my app always shows a white screen. |
Beta Was this translation helpful? Give feedback.
You want to use
boundsandmaxBoundson theCamera. Check out this example.