string type = "Capacity"; FeatureLayer lyr = Map.Layers["Reservoirs"] as FeatureLayer; lyr.ClearGraphics(); lyr.Url = "http://Dummy/ArcGIS/rest/services/Dummy/FeatureServer/3"; yr.Where = "Res_Type = 'GLR'"; lyr.OutFields.Add("*"); lyr.Update(); System.Windows.Data.Binding bind = new System.Windows.Data.Binding(); bind.ElementName = "Map"; bind.Path = new PropertyPath("Layers.[Reservoirs]"); MyDataGrid1.SetBinding(ESRI.ArcGIS.Client.Toolkit.FeatureDataGrid.GraphicsLayerProperty, bind); MyDataGrid1.UpdateLayout();
FeatureLayer lyr = Map.Layers["Reservoirs"] as FeatureLayer; lyr.ClearGraphics(); lyr.Url = http://dummy/ArcGIS/rest/services/Dummy/FeatureServer/3;
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.