i need to add div tag inside map

1278
1
Jump to solution
03-24-2022 12:58 PM
stiven
by
New Contributor III

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

0 Kudos
1 Solution

Accepted Solutions
AnneFitz
Esri Regular Contributor

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/

View solution in original post

0 Kudos
1 Reply
AnneFitz
Esri Regular Contributor

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/

0 Kudos