WorldWindEarth / WorldWindAndroid

The WorldWind Android "Community Edition" SDK (WWA-CE) includes the library, examples and tutorials for building 3D virtual globe applications for phones and tablets.
https://worldwind.earth/WorldWindAndroid/
Other
15 stars 7 forks source link

Refactor camera management and some UX behaviour #23

Closed ComBatVision closed 4 years ago

ComBatVision commented 4 years ago

Description of the Change

Deprecate Navigator class and control Camera directly like in JS codebase. Move LookAt point conversion routine into Camera class. Move field of view into Camera class. Use Position object instead of separate latitude, longitude and altitude attributes in Camera and LookAt. Use two-fingers tilt. Do not change heading on tilt. Use gesture interpret distance in DP respecting screen density instead of PX. Update documentation templates according to new API. Add additional zoomIn, zoomOut and resetOrientation commands to BasicWorldWindowController.

Why Should This Be In Core?

Slightly improves UX.

Benefits

Slightly improves UX. Simplify Camera control.

Potential Drawbacks

May be partially incompatible with old customer applications.

Applicable Issues

6

8

21