In AGOL map viewer I can toggle layers. Is there anyway to do this with the web map embed in a HTML page?
Solved! Go to Solution.
You can enable the layer toggle by adding &legendlayers=true to the web map URL used in the embed code.
Alternatively, use the option Legend > Layer Toggle from the Embed option in the Web Map:
More information: Embed maps, apps, and groups—ArcGIS Online Help | ArcGIS
Carmel
You can enable the layer toggle by adding &legendlayers=true to the web map URL used in the embed code.
Alternatively, use the option Legend > Layer Toggle from the Embed option in the Web Map:
More information: Embed maps, apps, and groups—ArcGIS Online Help | ArcGIS
Carmel