I'm developing a Nearby Instant App and am looking for functionality like Web App Builder where you can add onto a URL to show specific layers from the map using "&showLayers". An example from Web App Builder: https://wisdot.maps.arcgis.com/apps/webappviewer/index.html?id=f9096bc93a1a4ff38b3c9fad0c77f058&show...
I'd like the default for my app (https://wisdot.maps.arcgis.com/apps/instant/nearby/index.html?appid=6c17e00bdf8d4be8bd9c7615d913af05) to have all layers on but use the "&showLayers" functionality to show only one layer to put on specific webpages. Is this doable in Instant Apps or are there plans to add this functionality in the future?
Solved! Go to Solution.
@DanJohnstonWisDOT We are adding a URL parameter to support hiding layers, which will allow you to accomplish a similar workflow. This functionality will be part of the June update of ArcGIS Online. The parameter will be "hiddenLayers" followed by the layer ID.
@DanJohnstonWisDOT We are adding a URL parameter to support hiding layers, which will allow you to accomplish a similar workflow. This functionality will be part of the June update of ArcGIS Online. The parameter will be "hiddenLayers" followed by the layer ID.
@BethRomero Thanks for the update on this topic. Glad to hear we're able to add this functionality to the June release.
I will add onto this thread that if you're looking to hide multiple layers, the URL path would be similar to the following (adding semi colon in between each layer ItemID): https://wisdot.maps.arcgis.com/apps/instant/nearby/index.html?appid=6c17e00bdf8d4be8bd9c7615d913af05...