You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to tell if a user gesture caused a camera update, and what kind of update?
I have an option to auto-rotate the map to follow the phone's heading; I want to turn this off if the user rotates the map. I have another to auto-move and zoom the map to follow some updating location data, which I also want to disable if a user gesture moves or zooms the map.
I see how I can go the other direction; I can disable user control when they activate my features, but it's a better UI if my controls get deactivated automatically when the user starts interacting with the map.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way to tell if a user gesture caused a camera update, and what kind of update?
I have an option to auto-rotate the map to follow the phone's heading; I want to turn this off if the user rotates the map. I have another to auto-move and zoom the map to follow some updating location data, which I also want to disable if a user gesture moves or zooms the map.
I see how I can go the other direction; I can disable user control when they activate my features, but it's a better UI if my controls get deactivated automatically when the user starts interacting with the map.
Beta Was this translation helpful? Give feedback.
All reactions