From the Code Examples Page I'm trying to workthrough the Editor_Sketching sample. However, when I get to the following line it gives an error "End of Statement expected". Can anyone show me my error? I've tried several combinations but I just can;'t get this line working. The sample does not work without it so I really need an answer on something to try...
Dim myGeometry As Esri.ArcGISRuntime.Geometry.Geometry = Await Mapview1.Editor.RequestShapeAsync(Esri.ArcGISRuntime.Controls.DrawShape.Point)
Every one of these lines gives the same error! Does anyone have working VB.NET code for Drawing a graphic that works? Thanks.
Solved! Go to Solution.
Found It! The Sub needs to be marked with Async. Missed that when copying over the code. Regards.
Found It! The Sub needs to be marked with Async. Missed that when copying over the code. Regards.