I need to add a container div inside the map to display data and apply css styles, but I don't know how to do it
Solved! Go to Solution.
You can create your div and then use view.ui.add() to add it to the map. This sample shows you how: https://developers.arcgis.com/javascript/latest/sample-code/simple-ui/
You can create your div and then use view.ui.add() to add it to the map. This sample shows you how: https://developers.arcgis.com/javascript/latest/sample-code/simple-ui/