WorldWindAndroid icon indicating copy to clipboard operation
WorldWindAndroid copied to clipboard

Unify camera management API with JS code base.

Open EMaksymenko opened this issue 5 years ago • 0 comments

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. Add secondary mouse button tilt support to BasicWorldWindowController. Remove code which never executes due to a bug in WWMath.

Why Should This Be In Core?

Make a step to API unification with JS code base and improve gestures UX.

Benefits

Improve UX by using only two fingers gesture detection. Improve performance. Simplify Camera control.

Potential Drawbacks

May be partially incompatible with old customer applications.

EMaksymenko avatar Dec 07 '20 17:12 EMaksymenko