Skip to content

android-v10.3.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@pengdev pengdev released this 26 Jan 14:51
· 10 commits to v10.3 since this release
7be213a

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 transitionTo method.
    • Rename FollowingViewportState to FollowPuckViewportState.
    • Remove fromState from ViewportTransition.run and ViewportStatus.Transition; make ViewportStatus.State’s contained state non-nullable; add separate ViewportStatus.Idle object.
    • Introduce ViewportStatusChangeReason and 5 pre-defined reason constants: IDLE_REQUESTED, TRANSITION_STARTED, TRANSITION_SUCCEEDED, TRANSITION_FAILED, USER_INTERACTION.
    • Rename FollowPuckViewportStateOptions#frameAnimationDurationMs to FollowPuckViewportStateOptions#animationDurationMs, rename OverviewViewportStateOptions#frameAnimationDurationMs to OverviewViewportStateOptions#animationDurationMs.
    • Make OverviewViewportStateOptions#bearing, OverviewViewportStateOptions#pitch, FollowPuckViewportStateOptions#padding, FollowPuckViewportStateOptions#zoom, FollowPuckViewportStateOptions#bearing, FollowPuckViewportStateOptions#pitch nullable, to allow other sources, such as gesture inputs, to update these properties independently.
    • Remove the cancelable return value from ViewportState.startUpdatingCamera in favour of ViewportState.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.
  • Reintroduce missing OfflineRegion#setMetadata API for parity with OfflineRegion#updateMetadata in 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)