Open shivanit-cupertino opened 9 years ago
Perhaps your layer id value is incorrect? One way to test this is to configure the application using arcgis online then use the appid in the template and see if that works.
when I added the appid, I can see that layer twice in the drop down for search. After making addLayerFromMap to false, I can see whatever I can in the app. Only the position is little out of place
I have set these in default.js "search": true, "locationSearch": false, "searchExtent": true, "searchLayers":{ "id": "LandUseCases4",//"Boston_Marathon_7694", "fields": ["CASENAME", "CASESTATUS"] //"STATE_NAME" },
but search is not being performed on the layer. I have set the locationsearch to false , should it not search on location then? but it does search on location