C# Class SuperMap.WinRT.Actions.Edit

${ui_action_Edit_Title}

${ui_action_Edit_Description}

Inheritance: MapAction
Show file Open project: SuperMap/iClient-for-Win8

Public Methods

Method Description
Deactivate ( ) : void

${ui_action_MapAction_method_deactivate_D}

Edit ( Map map, FeaturesLayer layer ) : System

${ui_action_Edit_constructor_D}

OnDoubleTapped ( Windows e ) : void

${ui_action_MapAction_event_onDblClick_D}

OnKeyDown ( KeyRoutedEventArgs e ) : void

${ui_action_MapAction_event_onKeyDown_D}

OnPointerMoved ( Windows e ) : void

${ui_action_MapAction_event_onMouseMove_D}

StopEdit ( ) : void

${ui_action_Edit_method_stopEdit_D}

Private Methods

Method Description
FindPointOnLineClosestToPoint ( Point2D p0, Point2D p1, Point2D p ) : Point2D
OnGeometryEdit ( Feature f, GeometryEditAction action ) : void
SetDefaultStyle ( ) : void
addCenterFeature ( Feature feature ) : void
addHoverLineSegment ( Point2D p0, Point2D p1, int index0, int index1, Feature feature, Point2DCollection points, int partIndex ) : void
addHoverVertex ( Feature feature, GeoPoint p, int index, int partIndex ) : Feature
addOneVertex ( Feature hoverFeature, Point2D pMap ) : void
buildByGeoLine ( Feature feature ) : void
buildByGeoPoint ( Feature feature ) : void
buildByGeoRegion ( Feature feature ) : void
buildHoverLayer ( Feature feature ) : void
changeActiveFeatureVertex ( Point2D newPnt ) : void
changeCenterFeatureLocation ( ) : void
changeLineSegment ( Point2D newPnt ) : void
deleteOneVertex ( Feature hoverVertex ) : void
editLayer_PointerPressed ( object sender, FeaturePointerRoutedEventArgs args ) : void
editLayer_PointerReleased ( object sender, FeaturePointerRoutedEventArgs args ) : void
moveFeaturesOnVirtualLayer ( double deltaX, double deltaY ) : void
moveLineOrRegionFeature ( Point2D newPnt ) : void
prepareMoveLineOrRegionFeature ( Point2D start ) : void
prepareMovePointFeature ( Feature hoverFeature ) : void
rebuildHoverLayer ( Feature feature ) : void
startEdit ( Feature feature, bool suppressEvent ) : void
startEdit ( Feature feature, bool suppressEvent, Point2D start ) : void
startTracking ( ) : void
stopEdit ( bool suppressEvent ) : void
stopTracking ( ) : void
virtualLayer_PointerExited ( object sender, FeaturePointerRoutedEventArgs args ) : void
virtualLayer_PointerMoved ( object sender, FeaturePointerRoutedEventArgs args ) : void
virtualLayer_PointerPressed ( object sender, FeaturePointerRoutedEventArgs args ) : void
virtualLayer_PointerReleasedp ( object sender, FeaturePointerRoutedEventArgs args ) : void

Method Details

Deactivate() public method

${ui_action_MapAction_method_deactivate_D}
public Deactivate ( ) : void
return void

Edit() public method

${ui_action_Edit_constructor_D}
public Edit ( Map map, FeaturesLayer layer ) : System
map SuperMap.WinRT.Mapping.Map ${ui_action_Edit_constructor_param_map}
layer FeaturesLayer ${ui_action_Edit_constructor_param_layer}
return System

OnDoubleTapped() public method

${ui_action_MapAction_event_onDblClick_D}
public OnDoubleTapped ( Windows e ) : void
e Windows ${ui_action_MapAction_event_onDblClick_param_e}
return void

OnKeyDown() public method

${ui_action_MapAction_event_onKeyDown_D}
public OnKeyDown ( KeyRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.KeyRoutedEventArgs ${ui_action_MapAction_event_onKeyDown_param_e}
return void

OnPointerMoved() public method

${ui_action_MapAction_event_onMouseMove_D}
public OnPointerMoved ( Windows e ) : void
e Windows ${ui_action_MapAction_event_onMouseMove_param_e}
return void

StopEdit() public method

${ui_action_Edit_method_stopEdit_D}
public StopEdit ( ) : void
return void