I have a div that I want to put inside the map, but either placing 'sidePanel' outside or inside 'viewDiv' don't work. I'm curious about is there any approach other than customizing a widget with TypeScript and SASS? To be specific, is it possible to do those widget tricks with generic HTML and CSS like I'm attempting?
my code :
<div id="viewDiv" class="esri-widget"></div>
The sample mentioned above is a great way to create a side panel if you are trying to place something next to your map. You can also put HTML elements inside of your map (like you would with a widget) by using