Query Query Task Silverlight with ESRI Maps -
How do I ask the layers of an ESRI map? I need to query the layer of the esri map and store the data in the data.
ESRI Silverlight SDK provides a query task
for the object ArcGIS server Your map should be published from, for which a final endpoint (URL) is available for the query. Check it out. Check it out. This includes several examples of various types of inquiries.
In its simplest form, a query will appear ...
zero doQuery () {query task query task = new query task ("[AGS service endpoint ] "); // service URL usually http: // [servername] / ArcGIS / rest / services / [ServiceName] / MAPSERVER / [LayerId] queryTask.ExecuteCompleted + = QueryTask_Execute format; ESRI.ArcGIS.Client.Tasks.Query Query = New ESRI.ArcGIS.Client.Tasks.Query (); Query.Where = "1 = 1"; // Return all features queries. OutFields.Add ("*"); // Return all the fields query. Task.ExecuteAsync (query); } Zero QueryTask_Execute complete (object sender, ESRI.ArcGIS.Client.Tasks.QueryEventArgs arguments) {FeatureSet featureSet = args.FeatureSet; If (featureset == zero) featureSet.Features.Count == 0) return; Foreign language (graphic feature in featurette fetcher) {// feature.Attributes is a kind of dictionary & lt; String, Object & gt; All features are something to do with it}}
Comments
Post a Comment