cmv / cmv-app

CMV - The Configurable Map Viewer - A community supported open source mapping framework built with the Esri JavaScript API and the Dojo Toolkit
https://demo.cmv.io/
MIT License
325 stars 278 forks source link

How to edit the Shape,KML or CSV files added through the Drag and Drop Widget. #861

Closed durga-pericherla closed 5 years ago

durga-pericherla commented 5 years ago

Hai, I am using both Editor and DnD widgets in my viewer. Is it possible to edit the KML, Shape or CSV files which are added to the map via Drag and Drop widget using the Editor Widget. Or is there any way to edit the attachments which are added to map via Drag and Drop widget.

Thanks in Advance.

tmcgee commented 5 years ago

@ParkShinYoo The Editor widget requires a feature layer from a ArcGIS Server Feature Service and would not work directly with features in a KML, Shapefile or CSV graphics layer. You could possibly add those features from the graphics to the editable feature layer. Neither the DnD or Editor widgets support that so you'd have to write your own custom widget.

durga-pericherla commented 5 years ago

Got it. Thank you @tmcgee