I have a feature layer from a REST feature service that I would like to be the facility layer input. ...What is the best way that I should go about obtaining a feature set from my feature layer?
//Requires ArcGIS Server 10.1 or greater params.facilities = new esri.tasks.DataFile({ url: "http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/MapServer/3/query?where=1=1&returnGeometry=true&outFields=*&f=json" });
Hi,
I'm having the same problem as Wesley, where exactly does the substitution happen? I tried it in several places without success. Do I need to use a map service or a feature service? I'm kind of at a loss of what a feature set is. Main point is I don't want to write a list of all my facilities with their coordinates in the code, I would like to draw that from a data set such as a feature service.
thanks,
John
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.