I'm using the search multiple sources example (https://developers.arcgis.com/javascript/jssamples/search_multiplesources.html) and I'm beginning to modify it to fit my needs. It's more or less working as it should, except for the results it returns when the search should select multiple points and instead it chooses just one.
For example, I want to find the boat ramps on a particular body of water. I input Pickwick, and it's automatically returning one ramp, instead of the 5 or 6 it should.
Anyone else run into this? Here's the applicable portion of my code, as it is now:
sources.push({ featureLayer: new FeatureLayer("https://conservationgis.alabama.gov/adcnrweb/rest/services/Fishing_DCNR/MapServer/5"), searchFields: ["Waterbody"], displayField: "Access_Are", exactMatch: false, outFields:["Access_Are"], name: "Boat Ramps", placeholder: "Waterbody Name", maxResults: 15, maxSuggestions: 15, infoTemplate: rampsInfoTemplate, enableSuggestions: true, minCharacters: 0 });
Ashley,
Because your server is 10.2.1 you do not get a menu of Suggestions. The results coming back from your featurelayer do include all the results you are expecting but if your server is not 10.3 then a menu list of suggestions are not presented in the UI of the search dijit.