AnsweredAssumed Answered

How to limit the location of camera

Question asked by wangchao001 on Aug 2, 2018
Latest reply on Aug 2, 2018 by wangchao001

I'm  using sceneView to make 3D map,now I need to limit the camera of the sceneView,so that the target I'm looking at will not go outside the screen when I drag or zoom the map.

Now I have find a block of sceneView named "viewpointChangedHandler" can do what I want,but I don't think it can do what I want very good. Is there a property just like maxScale or minScale that the AGSMapView have to limit the AGSSceneView zoom or drag.

Outcomes