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
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/
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.