Hallo GeoNet,
Is er een manier om de legenda vast te zetten op de ingesloten webkaart zonder op de knop >> te hoeven klikken?
Alvast heel erg bedankt!
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!! 😃
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.