AnsweredAssumed Answered

Turning on Layer after URL query is executed

Question asked by 96213@charlottenc.gov_charlotte on Mar 19, 2018
Latest reply on Mar 19, 2018 by rscheitlin



So I'm interested in turning on a layer after a feature is queried by a URL parameter. As an example, if you hit this URL:


ArcGIS Web Application 


The app executes the query just fine (woohoo), but since that layer is not turned on by default, the actual symbol is not drawn, which will likely be confusing for end-users. 


I imagine this is as simple as calling the showLayers function of the LayerList widget, but I'm still getting my feet under me in this capacity. 


Any insight would be appreciated!