Using the Javascript API, what's a good way to implement the following functionality :A user should be able to select or draw a rectangle (A4 or A3) on the map and drag it. The resulting extent should be available for me (so I can send it to a printing routine).I'm looking for suggestions on what tools to use (maybe an esri drawing tool or the OverviewMap class https://developers.arcgis.com/en/javascript/jsapi/overviewmap-amd.html?) or other ideas of how to accomlpish this.Thanks in advance!
Possibly I am not giving a beautiful explanation. But combining these two features may satisfy your requirement.https://developers.arcgis.com/en/javascript/jssamples/graphics_add.htmlhttps://developers.arcgis.com/en/javascript/jssamples/graphics_contextmenu.htmlYou may add print task in context menu for the added graphic.Abhy
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.