Skip to content

Commit

Permalink
Merge pull request #3 from geospatialem/support-go-to-override
Browse files Browse the repository at this point in the history
feat: Move legend to the action bar and remove unused components ref …
  • Loading branch information
kellyhutchins authored Mar 5, 2024
2 parents c226927 + 1513290 commit cd86751
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion demos/consistent-focus.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<calcite-shell-panel slot="panel-start" display-mode="float">
<calcite-action-bar slot="action-bar">
<calcite-action data-action-id="layer-effects" icon="effects" text="Layer effects"></calcite-action>
<calcite-action data-action-id="legend" icon="legend" text="Legend"></calcite-action>
</calcite-action-bar>
<!-- Layer effects -->
<calcite-panel heading="Layer effects" height-scale="l" data-panel-id="layer-effects" closable closed>
Expand Down Expand Up @@ -95,11 +96,14 @@
</calcite-block-section>
</calcite-block>
</calcite-panel>
<!-- Legend Panel -->
<calcite-panel heading="Legend" height-scale="l" data-panel-id="legend" closable closed>
<arcgis-legend reference-element="arcgis-map" position="bottom-right"></arcgis-legend>
</calcite-panel>
</calcite-shell-panel>

<calcite-panel>
<arcgis-map item-id="c2a3444863f2466aaad9efa6e65063e1" id="mapEl">
<arcgis-legend position="bottom-right"></arcgis-legend>
<arcgis-expand mode="floating" position="top-right">
<arcgis-search></arcgis-search>
</arcgis-expand>
Expand Down
1 change: 0 additions & 1 deletion demos/reduced-motion.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<link rel="stylesheet" href="https://js.arcgis.com/4.29/esri/themes/light/main.css" />
<script src="https://js.arcgis.com/4.29/"></script>
<script type="module" src="https://js.arcgis.com/map-components/4.29/arcgis-map-components.esm.js"></script>
<link rel="stylesheet" type="text/css" href="https://js.arcgis.com/calcite-components/2.6.0/calcite.css" />
<script type="module" src="https://js.arcgis.com/calcite-components/2.6.0/calcite.esm.js"></script>

Expand Down

0 comments on commit cd86751

Please sign in to comment.