I've created a basic HTML file that shows a simple webmap from ArcGIS Online. I have made the basemap on my ArcGIS Online webmap 100% transparent because otherwise the basemaptoggle widget is "below" the entire map. Is there any way I can now set this up to have a basemap showing at startup through the basemapToggle widget? Or am I overthinking this and there is a much better approach to the whole thing entirely? I'm fairly new to javascript and especially javascript for arcgis.
Thanks in advance!
Christina,
If you are saying that the basemap toggle widget is under the map then it sounds like you do not have the div in the right spot in your code. Have you seen the basemap toggle sample?