C# Class ProAppDistanceAndDirectionModule.ViewModels.ProRangeViewModel

Inheritance: ProTabBaseViewModel
Exibir arquivo Open project: Esri/distance-direction-addin-dotnet

Public Methods

Method Description
ProRangeViewModel ( ) : ArcGIS.Core.Geometry

Private Methods

Method Description
ConstructGeoCircle ( ) : void
CreateMapElement ( ) : void

Method used to create the needed map elements to add to the graphics container Is called by the base class when the "Enter" key is pressed

DrawRadials ( ) : void

Method to draw the radials inside the range rings Must have at least 1 radial All radials are drawn from the center point to the farthest ring

DrawRings ( ) : void

Method used to draw the rings at the desired interval Rings are constructed as geodetic circles

GetAzimuthAsRadians ( double azimuth ) : double
OnMouseDoubleClick ( object obj ) : void

Method to handle map point tool double click End interactive drawing of range rings

OnMouseMoveEvent ( object obj ) : void

Override the mouse move event to dynamically update the center point Also dynamically update the ring feedback

OnNewMapPointEvent ( object obj ) : void

Override the on new map point event to only handle one point for the center point

Reset ( bool toolReset ) : void
UpdateFeedbackWithGeoCircle ( ) : void

Method Details

ProRangeViewModel() public method

public ProRangeViewModel ( ) : ArcGIS.Core.Geometry
return ArcGIS.Core.Geometry