Hello! Me and my friend are currently working on project using JS with Arcgis API and have two questions.
1. How do you create a completely new empty layer that you can add geometries to in Arcgis js api?
2. Where should this new layer be saved? Is it a database or something like a catalog that i've read about?
Really enjoying the project so far and want to thank in advance for the help! 🙂