Example #1
0
        /// <summary>
        /// Raises the OnMapMouseDoubleClick event.
        /// </summary>
        /// <param name="e"></param>
        private void RaiseOnMapMouseDoubleClick(MouseEventArgs e)
        {
            var geoCoordinates = _mapSceneManager.ToGeoCoordinates(e.GetPosition(this));
            var args           = new MapControlEventArgs(e, geoCoordinates);

            OnMapMouseDoubleClick(args);
            MapMouseDoubleClick?.Invoke(this, args);
        }
Example #2
0
 /// <summary>
 /// Called on a mouse up event.
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnMapMouseDoubleClick(MapControlEventArgs e)
 {
 }
Example #3
0
 /// <summary>
 /// Called on a mouse up event.
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnMapMouseWheel(MapControlEventArgs e)
 {
 }
Example #4
0
 /// <summary>
 /// Called on a mouse up event.
 /// </summary>
 /// <param name="e"></param>
 protected virtual void OnMapMouseMove(MapControlEventArgs e)
 {
 }