Thanks for the reply. Being the noob that I am, what I really need is a way to toggle the fields of a feature layer. For instance, I have a feature layer for the parks in my county. I want the user to be able to find parks with certain attributes, like pinic areas, pavillions, baseball fields, etc. So whne they click the checkbox for "pavillions" those parks that have paviilions will be shown on the map. Same for any other attribute. I was looking at this sample as a possible way: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm.Thanks again.
dojo.query(".layerSelectCheckbox").connect("onclick", function (ev) { /* check layer visibility */ });
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.