Select to view content in your preferred language

Best Practice for saving features generated client side

154
0
09-11-2023 03:27 AM
Aeseir
by
Occasional Contributor

I want to improve my code for saving/storing features when they are generated client side, for further clarity, the featurelayer doesn't come from a remote service.

 

currently I use the applyEdits to listen to changes and then store them as a json string, then act on the string.

However this seems, like the unlikely solution considering myriad of gaps associated with applyEdits.

 

What is the best practice if user generates a feature layer, and creates new features (using the editor widget in our case), and we want to save the features for future recollection.

 

0 Kudos
0 Replies