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;
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.