Created
January 16, 2015 20:47
-
-
Save geobabbler/dab0a0ce0c523a496fb6 to your computer and use it in GitHub Desktop.
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