C# Class REST_SampleCode.MeasureArea

Inheritance: SuperMap.WinRT.Actions.Pan, IDrawStyle
Datei anzeigen Open project: SuperMap/iClient-WP8-Example

Public Methods

Method Description
Deactivate ( ) : void
MeasureArea ( 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
GetArea ( Point2DCollection point2DCollection ) : double

Method Details

Deactivate() public method

public Deactivate ( ) : void
return void

MeasureArea() public method

public MeasureArea ( 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