C# Class csDataServerPlugin.ucPoiIcon

Interaction logic for ucPoi.xaml
Show file Open project: TNOCS/csTouch

Public Properties

Property Type Description
GraphicProperty System.Windows.DependencyProperty
PoIProperty System.Windows.DependencyProperty

Public Methods

Method Description
Angle ( double px1, double py1, double px2, double py2 ) : double
ToggleRotating ( ) : void
UpdatePosition ( IconMovedEventArgs e ) : void
ucPoiIcon ( ) : System

Private Methods

Method Description
Angle ( Point start, Point end ) : double

Calculate angle in radians between line defined with two points and x-axis.

BCircleIconLongTapped ( object sender, EventArgs e ) : void

When PoI is pressed for long time

BCircleIconMoved ( object sender, IconMovedEventArgs e ) : void
BCircleIconReleased ( object sender, IconMovedEventArgs e ) : void
BCircleIconRightClicked ( object sender, EventArgs e ) : void
BCircleIconTapped ( object sender, IconMovedEventArgs e ) : void
CHeadingMouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
CHeadingTouchUp ( object sender, System.Windows.Input.TouchEventArgs e ) : void
CalcHeading ( object e, System.Windows.Input.TouchEventArgs a ) : void
CalcHeadingMouse ( object e, System.Windows.Input.MouseEventArgs a ) : void
FinishHeading ( ) : void
MapControlExtentChanged ( object sender, ExtentEventArgs e ) : void
MiEvent_OnTap ( object sender, RoutedEventArgs e ) : void
MiRemoveTap ( object sender, RoutedEventArgs e ) : void
MiRotateTap1 ( object sender, RoutedEventArgs e ) : void
MiZoomTap ( object sender, RoutedEventArgs e ) : void
PoIPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
PoI_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
PoI_RotationStarted ( object sender, EventArgs e ) : void
UcPoiIconLoaded ( object sender, RoutedEventArgs e ) : void
UpdateHeading ( ) : void
UpdateVisibilityOfTitle ( ) : void
border_MouseDown ( object sender, System e ) : void

Method Details

Angle() public static method

public static Angle ( double px1, double py1, double px2, double py2 ) : double
px1 double
py1 double
px2 double
py2 double
return double

ToggleRotating() public method

public ToggleRotating ( ) : void
return void

UpdatePosition() public method

public UpdatePosition ( IconMovedEventArgs e ) : void
e csCommon.csMapCustomControls.MapIconMenu.IconMovedEventArgs
return void

ucPoiIcon() public method

public ucPoiIcon ( ) : System
return System

Property Details

GraphicProperty public static property

public static DependencyProperty,System.Windows GraphicProperty
return System.Windows.DependencyProperty

PoIProperty public static property

public static DependencyProperty,System.Windows PoIProperty
return System.Windows.DependencyProperty