I am tryin simple expands with legend , layer components as my first attempt at components
I am unable to position the expand component when i set the position to manual. Also , I am unaware of how to set the expand color:
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
<!-- Load Calcite components from CDN -->
<script type="module" src="https://js.arcgis.com/calcite-components/3.0.3/calcite.esm.js"></script>
<!-- Load the ArcGIS Maps SDK for JavaScript from CDN -->
<link rel="stylesheet" href="https://js.arcgis.com/4.32/esri/themes/light/main.css" />
<script src="https://js.arcgis.com/4.32/"></script>
<!-- Load Map components from CDN-->
<script type="module" src="https://js.arcgis.com/map-components/4.32/arcgis-map-components.esm.js"></script>
<link rel='stylesheet' href='Styles/webStyles.css' type='text/css' media='screen, all' />
</head>
<body>
<div id="viewDiv">
<arcgis-map>
<arcgis-zoom position="top-left"></arcgis-zoom>
<arcgis-home position="top-left"></arcgis-home>
<div id="exLegend"> <arcgis-expand close-on-esc position="manual" expand-icon="legend" expand-tooltip="Legend" >
<arcgis-placement>
<arcgis-legend legend-style="classic"></arcgis-legend>
</arcgis-placement>
</arcgis-expand> </div>
<arcgis-expand close-on-esc position="manual" expand-icon="layers" expand-tooltip="Layers" id="exLayers">
<arcgis-placement>
<arcgis-layer-list></arcgis-layer-list>
</arcgis-placement>
</arcgis-expand>
<arcgis-expand close-on-esc position="manual" expand-icon="basemap" expand-tooltip="Available Basemaps" id="exBase">
<arcgis-placement>
<arcgis-basemap-gallery></arcgis-basemap-gallery>
</arcgis-placement>
</arcgis-expand>
</arcgis-map>
</div>
</body>
</html>
------------------------------------------------ THESE STYLES DONT WORK - -------------------------------------------
#exLegend{ position:absolute; top:55px; right:15px }
#exLayers{ position:absolute; top:55px; right:15px }
esri-expand {position: absolute;top: 20px;right: 20px;z-index: 10;}