Is it possible to capture the outline of a polygon drawn using the sketch widget and display it outside of the map?

281
1
05-25-2020 05:44 PM
TilovonCrite
New Contributor II

I'm using the latest version of the javascript api and I have a use case where an outline of the selected polygon is to be displayed in a popup...not an esri popup tough. thanks.

Tags (1)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Tilovon,

   Sounds like you want to use the views screenshot capability.

https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#takeScreenshot 

0 Kudos