I came across this .net script and I was wondering if there is something similar for JS.
link
Yes you can set the geometry constraint on the MapView. You can see the behavior in this app: https://codepen.io/U_B_U/pen/zYyvWZQ?editors=100
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.