WorldWindAndroid icon indicating copy to clipboard operation
WorldWindAndroid copied to clipboard

Shape editors

Open pdavidc opened this issue 9 years ago • 0 comments

Support for user-shape-editing (3D shapes, surface shapes and airspace shapes). From the COE requirements document:

Feature Editing

  • Ability for the developer to place an existing map feature into an editable state.
  • Interactive UI controls which allow the user to use touch or cursor input to manipulate the locations of the vertices that make up the feature.
  • In the case of complex / composite features such as Air Control Measures the map shall also provide interactive handles to manipulate additional properties outside of the vertices such as altitude, width, and depth.
  • As the feature is manipulated incremental Feature Edit events are dispatched indicating the current state of the feature
  • Map engine allows developer to stop editing feature with an API command to complete the edit

Auto Shape Drawing Auto shapes are features that have a derived visualization from geospatial coordinates and additional properties such as:

  • Arc – point with radius, start angle, end angle.
  • Circle – point with radius
  • Ellipse – point with major radius, minor radius, and rotation
  • Square – point with width and rotation
  • Rectangle – Point with width, height, and rotation
  • 3D Airspace Volumes – Coordinates, and modifier properties

For an auto shape draw start, a feature that centers in the current display and is approximately 25% of the width and height of the display is created and automatically displayed in an editable state. The process for drawing and editing auto shapes is basically the same

pdavidc avatar Aug 30 '16 22:08 pdavidc