I have a WinForms application in VS 2013. I have referenced the arcgisruntime and can create a graphics layer in the mapcontrol, but the GraphicsLayer that I am creating isn't showing a binding for the Graphics property of the layer for me to add Points, Lines and Polygons.
-----other methods here
private Boolean DrawLocations()
//Draw All Locations
Layer layer = new Esri.ArcGISRuntime.Layers.GraphicsLayer();
layer.ID = "Locations";
layer.DisplayName = "Locations";
foreach (Location location in Data.GetLocations())
Esri.ArcGISRuntime.Geometry.MapPoint point = new MapPoint(location.Point.X, location.Point.Y, location.Point.Z);
Esri.ArcGISRuntime.Symbology.SimpleMarkerSymbol symbol = new SimpleMarkerSymbol();
Esri.ArcGISRuntime.Layers.Graphic graphic = new Graphic(point, symbol);
catch (Exception ex)
throw new Exception("Unable to Draw Locations.", ex);
Any help would be appreciated!