In Web AppBuilder Developer Edition, is there any way to query a zipped shapefile uploaded by the Add Data widget?
Solved! Go to Solution.
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".
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".