First code snippet for annotation post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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