/// <summary> /// Raises the <see cref="NewMapLayer"/> event. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">An System.EventArgs that contains no event data.</param> public void OnNewMapLayer(object sender, MapEventArgs e) { if (this.NewMapLayer != null) { this.NewMapLayer(sender, e); } }
/// <summary> /// Raises the <see cref="BeforeDrawingMap"/> event. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">An System.EventArgs that contains no event data.</param> public void OnBeforeDrawMap(object sender, MapEventArgs e) { var handler = this.BeforeDrawingMap; if (handler != null) { handler(sender, e); } }
/// <summary> /// Raises the <see cref="AfterDrawingMap"/> event. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">An System.EventArgs that contains no event data.</param> public void OnAfterDrawMap(object sender, MapEventArgs e) { if (this.AfterDrawingMap != null) { this.AfterDrawingMap(sender, e); } }