private void OnDrawComplete(DrawEventArgs args) { if (DrawCompleted != null) { DrawCompleted(this, args); } }
public override void Tap(GestureEventArgs e) { Point2D point = _map.ScreenToMap(e.GetPosition(_map)); DrawEventArgs args = new DrawEventArgs { Geometry =new GeoPoint(point.X,point.Y) }; OnDrawComplete(args); base.Tap(e); }