C# Class REST_SampleCode.MeasureDistance

Inheritance: SuperMap.WinRT.Actions.Pan, IDrawStyle
显示文件 Open project: SuperMap/iClient-WP8-Example

Public Methods

Method Description
Deactivate ( ) : void
MeasureDistance ( Map map, ElementsLayer elementsLayer ) : SuperMap.WinRT.Actions
OnDoubleTapped ( DoubleTappedRoutedEventArgs e ) : void
OnHolding ( HoldingRoutedEventArgs e ) : void
OnPointerMoved ( PointerRoutedEventArgs e ) : void
OnTapped ( TappedRoutedEventArgs e ) : void

Private Methods

Method Description
Activate ( Point2D firstPoint ) : void
Complete ( ) : void
DrawPoint ( Point2D point, bool isTemp ) : void

Method Details

Deactivate() public method

public Deactivate ( ) : void
return void

MeasureDistance() public method

public MeasureDistance ( Map map, ElementsLayer elementsLayer ) : SuperMap.WinRT.Actions
map SuperMap.WinRT.Mapping.Map
elementsLayer SuperMap.WinRT.Mapping.ElementsLayer
return SuperMap.WinRT.Actions

OnDoubleTapped() public method

public OnDoubleTapped ( DoubleTappedRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs
return void

OnHolding() public method

public OnHolding ( HoldingRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.HoldingRoutedEventArgs
return void

OnPointerMoved() public method

public OnPointerMoved ( PointerRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.PointerRoutedEventArgs
return void

OnTapped() public method

public OnTapped ( TappedRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.TappedRoutedEventArgs
return void