I want to update (increase / decrease) scene clipping area after I create it. My goal is to give the user ability to adjust the clipping area. I am using scene view, if that's relevent.
I've managed to update the clipping area of the map using:
const extent = view.clippingArea.clone();
view.clippingArea = extent.expand(0.5);
However when I try to set it to a specific range it does not want work:
let extent = view.clippingArea.clone();
extent.extent.xmax = 1849093
extent.extent.xmin = 1488933
extent.extent.ymax = 5921967
extent.extent.ymin = 5688179
view.clippingArea = extent
How can I set clipping area to specific range.