hii All!! I used measurement to draw polygon and polyline geometry on the map; and after I want to get the measurement graphics; how to get the measurement graphics? thank you
La sigh,
Listen for the measure-end event and get the geometry
measurement.on("measure-end", function(evt){ map.graphics.add(new Graphic(evt.geometry)); });
Measurement | API Reference | ArcGIS API for JavaScript | measure-end
Thank you so much!!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.