Exemplo n.º 1
0
 /// <summary>
 /// Called from javascript when there is a kml event
 /// </summary>
 /// <param name="kmlEvent">the kml event</param>
 /// <param name="action">the event id</param>
 public void KmlEventCallBack(IKmlEvent kmlEvent, string action)
 {
     this.OnKmlEvent(kmlEvent, new GEEventArgs(action));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Protected method for raising the KmlEvent event
 /// </summary>
 /// <param name="kmlEvent">The kmlEvent object</param>
 /// <param name="e">The Event arguments</param>
 protected virtual void OnKmlEvent(IKmlEvent kmlEvent, GEEventArgs e)
 {
     if (this.KmlEvent != null)
     {
         this.KmlEvent(kmlEvent, e);
     }
 }