Hello GeoNet,
Is there a way to pin down the legend on the embeded webmap without having to click on the >> button?
Thanks a lot!
Emily
Hey Emily Lee,
You can do this with url parameters: Use URL parameters to modify embedded maps—ArcGIS Online Help | ArcGIS
Not a great example but add this to the embed url:
"legend=true&active_panel=legend&show_panel=true&"
<div class="embed-container"><iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" title="Combo Map" src="//webapps.maps.arcgis.com/apps/Embed/index.html?webmap=3907303fd15646178ac89990bad8a0d8&extent=-180,-55.7798,180,82.0206&zoom=true&scale=true&legend=true&active_panel=legend&show_panel=true&disable_scroll=true&theme=light"></iframe></div>
Thank you very much, Kelly! It works!! 😃
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.