Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
First code snippet for annotation post
if (_draw == null)
_draw = new Draw(BoundMap); //private class-level variable of type ESRI.ArcGIS.Client.Draw
_draw.DrawComplete += DrawCompleteHandler; //subscribe to the DrawComplete event
_activated = true;
_draw.IsEnabled = true; //enable the Draw object
_draw.DrawMode = DrawMode.Point; //set it to Point mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment