android-v10.3.0-rc.1
Pre-release
Pre-release
·
10 commits
to v10.3
since this release
10.3.0-rc.1 January 26, 2022
Features ✨ and improvements 🏁
- Refine viewport plugin's public APIs. (#1069)
- Removed the transition registration API in favor of adding a transition parameter to the
transitionTomethod. - Rename
FollowingViewportStatetoFollowPuckViewportState. - Remove
fromStatefromViewportTransition.runandViewportStatus.Transition; makeViewportStatus.State’s contained state non-nullable; add separateViewportStatus.Idleobject. - Introduce
ViewportStatusChangeReasonand 5 pre-defined reason constants:IDLE_REQUESTED,TRANSITION_STARTED,TRANSITION_SUCCEEDED,TRANSITION_FAILED,USER_INTERACTION. - Rename
FollowPuckViewportStateOptions#frameAnimationDurationMstoFollowPuckViewportStateOptions#animationDurationMs, renameOverviewViewportStateOptions#frameAnimationDurationMstoOverviewViewportStateOptions#animationDurationMs. - Make
OverviewViewportStateOptions#bearing,OverviewViewportStateOptions#pitch,FollowPuckViewportStateOptions#padding,FollowPuckViewportStateOptions#zoom,FollowPuckViewportStateOptions#bearing,FollowPuckViewportStateOptions#pitchnullable, to allow other sources, such as gesture inputs, to update these properties independently. - Remove the cancelable return value from
ViewportState.startUpdatingCamerain favour ofViewportState.stopUpdatingCamera - Remove constant
VIEWPORT_STATUS_OBSERVER_REASON_PROGRAMMATIC - Remove constant
VIEWPORT_STATUS_OBSERVER_REASON_USER_INTERACTION - Rename
DEFAULT_FOLLOW_VIEWPORT_STATE_ZOOM->DEFAULT_FOLLOW_PUCK_VIEWPORT_STATE_ZOOM - Rename
DEFAULT_FOLLOW_VIEWPORT_STATE_PITCH->DEFAULT_FOLLOW_PUCK_VIEWPORT_STATE_PITCH - Rename
DEFAULT_FRAME_ANIMATION_DURATION_MS->DEFAULT_STATE_ANIMATION_DURATION_MS - Rename
DEFAULT_STATE_TRANSITION_MAX_DURATION_MS->DEFAULT_TRANSITION_MAX_DURATION_MS - Add experimental annotation to all the viewport public interfaces.
- Removed the transition registration API in favor of adding a transition parameter to the
- Reintroduce missing
OfflineRegion#setMetadataAPI for parity withOfflineRegion#updateMetadatain v9. (#1071) - Improved frame rate when zooming in and out over terrain and globe. (#1071)
- Thin out repeated line labels at overscaled tiles in order to avoid excessive memory usage. (#1071)
Bug fixes 🐞
- Fix an issue that causes transition to following viewport state not being fired when the bearing is set to constant. (#1064)
- Fix an issue where 3D puck used to scale when changing coordinate bounds. (#1067)
- Fix default viewport transition's anchor point. (#1070)
- Fix screen coordinate queries when using zero pitch and high zoom values. (#1071)
- Fix crash on destruction with ongoing tile-store downloads. (#1071)
- Fix map not rendering on emulators when MSAA is enabled. (#1077)
Dependencies
- Bump gl-native to v10.3.0-rc.1, common to v21.1.0-rc.1. (#1071)