Ejemplo n.º 1
0
 /// <summary>
 /// Raises the map update event.
 /// </summary>
 /// <param name="e">E.</param>
 protected virtual void OnMapUpdate(MapUpdateEventArgs e)
 {
     if (MapUpdated != null)
     {
         MapUpdated(this, e);
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Handles the map update event.
        /// </summary>
        /// <param name="sender">Sender.</param>
        /// <param name="e">E.</param>
        private void Map_Update(object sender, MapUpdateEventArgs e)
        {
            textView.Buffer.Clear();

            foreach (Landmark landmark in mapView.MapModel.Landmarks)
            {
                this.textView.Buffer.Text += landmark.ToString();
            }
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Handles the map update event.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="e">E.</param>
 private void Map_Update(object sender, MapUpdateEventArgs e)
 {
     QueueDraw ();
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Raises the map update event.
        /// </summary>
        private void RaiseMapUpdate()
        {
            MapUpdateEventArgs args = new MapUpdateEventArgs(this);

            OnMapUpdate(args);
        }
Ejemplo n.º 5
0
 /// <summary>
 /// Raises the map update event.
 /// </summary>
 private void RaiseMapUpdate()
 {
     MapUpdateEventArgs args = new MapUpdateEventArgs (this);
     OnMapUpdate (args);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Raises the map update event.
 /// </summary>
 /// <param name="e">E.</param>
 protected virtual void OnMapUpdate(MapUpdateEventArgs e)
 {
     if (MapUpdated != null)
     {
         MapUpdated (this, e);
     }
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Handles the map update event.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="e">E.</param>
 private void Map_Update(object sender, MapUpdateEventArgs e)
 {
     QueueDraw();
 }
Ejemplo n.º 8
0
        /// <summary>
        /// Handles the map update event.
        /// </summary>
        /// <param name="sender">Sender.</param>
        /// <param name="e">E.</param>
        private void Map_Update(object sender, MapUpdateEventArgs e)
        {
            textView.Buffer.Clear ();

            foreach (Landmark landmark in mapView.MapModel.Landmarks)
            {
                this.textView.Buffer.Text += landmark.ToString ();
            }
        }