Is there a way when embedding a map to turn layers on or off? Sometimes when we embed a map we want to focus on a particular layer on the map. On a different web page the same web map would be used but a different layer turned on. Yet sometime we want all layers turned on. Don't really want to make a separate map for each layer to achieve this behavior.
I know you can specify layers when using the map viewer (https://doc.arcgis.com/en/arcgis-online/create-maps/use-url-parameters.htm) but we don't like the map viewer interface.