In Web AppBuilder Developer Edition, is there any way to query a zipped shapefile uploaded by the Add Data widget?
Figured it out myself. Turns out to be simple. Although the feature layer from upload is based on feature collection, hence not possible for server-side query, each feature can still be extracted by the following:
var graphic = this.map.getLayer(layerId).graphics[i];
This contains all the attributes to do a client-side "query".
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.