Closed yevhenii-username closed 4 years ago
Hi @LukashenkoEvgeniy - thank you for reporting.
This is not a bug because GraphicMover
is an undocumented feature and for MapView
only. For undocumented features be aware that this may change without any advance notice.
Your requirment can be achieved by using SketchViewModel
I updated your example with SketchViewModel and it works now in 2D and 3D: https://jsfiddle.net/7aw84dsu/1/
Describe the bug GraphicMover doesn`t work as expected in 3D. method cloneMove in file drawUtils
To Reproduce Steps to reproduce the behavior:
Go to https://jsfiddle.net/lukashenko/v4Lo6ypa/82/
Click on object in a map and try to drag. In 2D It work correctly.
Move to JS editor and change in 19 line
to
Run app
Try repeat step 2.
See error in console
Expected behavior Must drug symbol without error in 3d.
Screenshots
Where problem MapView have fields
SceneView doesn' t have this properties and method cloneMove throw exception because transform and inverseTransform undefined.
If i add property value from 2D like
it will be work, but not correctly.
Browser
What's your OS?
API version
Video
https://easyupload.io/7mrzyu password: arcgis