Skip to content

Releases: mapbox/mapbox-maps-android

v10.16.3

08 Dec 15:20
Compare
Choose a tag to compare

10.16.3 December 08, 2023

Bug fixes 🐞

  • Downgrade minimum required compileSDK from 31 to 30.
  • Fix the java.lang.UnsatisfiedLinkError exception happening on the startup.
  • Fix widgets flickering due to race condition if they are animated.
  • Fix widgets not showing on some zoom levels.
  • Fix map being black when using widgets (e.g. when MapDebugOptions.TILE_BORDERS option is enabled).
  • Fix the crash with enabled timestamps debug option.
  • Fix crashing with java.lang.Error: unknown native exception caused by model_collision shader compilation failure.
  • Fix TileStore not clearing the invalidated and serveable flags upon a successful download.

Dependencies

  • Update Mapbox gestures library to 0.9.1
  • Update gl-native to v10.16.3 and common to v23.8.5.

Known issues

  • The java.lang.UnsatisfiedLinkError exception on startup has been fixed when using Mapbox Maps SDK only. If other Mapbox products are used (Navigation, Search) - loading navigation / search native libraries might still crash. Mapbox Navigation / Search SDKs fixes will be released separately.

v11.0.0

29 Nov 16:05
Compare
Choose a tag to compare

11.0.0 November 29, 2023

Breaking changes ⚠️

  • Minimum OpenGL ES version is now 3.0.
  • Update SDK's targetSdkVersion and compileSdkVersion to 33.
  • Remove deprecated GeoJsonSource public constructor, builder should be used instead.
  • Remove deprecated MapboxMap.queryRenderedFeatures methods.
  • Remove Snapshotter.setTileMode, Snapshotter.isInTileMode methods.
  • Remove deprecated MapStyleStateDelegate and isFullyLoaded method.
  • Remove experimental setRenderCacheOptions, getRenderCacheOptions apis.
  • Add callback argument to the MapboxMap methods getFeatureState, setFeatureState, removeFeatureState.
  • Use different callback types for the MapboxMap.queryRenderedFeatures and the MapboxMap.querySourceFeatures methods.
  • Return cancelable from the MapboxMap methods : getFeatureState, setFeatureState, removeFeatureState, querySourceFeatures, getGeoJsonClusterLeaves, getGeoJsonClusterChildren, getGeoJsonClusterExpansionZoom.
  • Remove the deprecated MapboxMap.queryFeatureExtensions method.
  • Remove MapAnimationOptions.animatorListener property. In order to subscribe to animations, provide Animator.animatorListener with flyTo, easeTo, pitchBy, scaleBy, moveBy, rotateBy apis.
  • Replace LocationEngine use with LocationService in DefaultProvider.
  • Add new LocationConsumer.onError method to allow consumers handle location errors.
  • Remove MapView.location2 related interfaces and move showAccuracyRing, accuracyRingColor, accuracyRingBorderColor, puckBearingEnabled and puckBearingSource to MapView.location.
  • Make AttributionSettings, CompassSettings, GesturesSettings, LocationComponentSettings, LogoSettings, ScaleBarSettings not Kotlin data class, better binary compatible and implementing Parcelable.
  • Change CompassSettings.image, LocationPuck2D.topImage, LocationPuck2D.bearingImage, LocationPuck2D.shadowImage to ImageHolder allowing to pass either drawable id or Bitmap.
  • Remove deprecated backgroundPatternTransition, lineDasharrayTransition, linePatternTransition, fillPatternTransition properties.
  • Replace MapSnapshotInterface interface with MapSnapshotResult abstract class and remove image() method, bitmap() should be used instead.
  • Change Annotation.id from monotonically increasing Long to UUID represented as String.
  • Remove Annotation.featureIdentifier used to connect with View Annotations, now Annotation.id should be used instead.
  • Rename PuckBearingSource to PuckBearing in location component plugin.
  • Remove deprecated overloaded Style.setStyleGeoJSONSourceData(sourceId: String, data: GeoJSONSourceData) method.
  • Rename MapboxMap.setMemoryBudget to MapboxMap.setTileCacheBudget and make it non-experimental.
  • Remove ResourceOptions and ResourceOptionsManager. Introduce MapboxOptions and MapboxMapsOptions to handle application-level access token and other generic options.
  • Removed XML attributes mapbox_resourcesAccessToken and mapbox_resourcesBaseUrl.
  • Update Mapbox styles to latest versions:
Style Before After
MAPBOX_STREETS mapbox://styles/mapbox/streets-v11 mapbox://styles/mapbox/streets-v12
SATELLITE_STREETS mapbox://styles/mapbox/satellite-streets-v11 mapbox://styles/mapbox/satellite-streets-v12
OUTDOORS mapbox://styles/mapbox/outdoors-v11 mapbox://styles/mapbox/outdoors-v12
LIGHT mapbox://styles/mapbox/light-v10 mapbox://styles/mapbox/light-v11
DARK mapbox://styles/mapbox/dark-v10 mapbox://styles/mapbox/dark-v11
  • Remove native interfaces StyleManagerInterface, StyleInterface, CameraManagerInterface, MapInterface, ObservableInterface and use only Map object to access native methods.
  • Make map events typed-safe, events are now have their own subscription methods.
    Following events are added as typed-safe, CameraChanged, MapIdle, MapLoadingError, MapLoaded, StyleDataLoaded, StyleLoaded, StyleImageMissing, StyleImageRemovedUnunsed,
    RenderFrameStarted, RenderFrameFinished, SourceAdded, SourceDataLoaded, SourceRemoved, ReourceRequest.
    All subscribe methods return Cancelable object, which users could store and call cancel when subscription is no longer needed.
    MapboxMap.unsubscribe methods were removed.
  • Rename LocationConsumer.onAccuracyRadiusUpdated to onHorizontalAccuracyRadiusUpdated.
  • Deprecate MapboxMap.loadStyleUri, MapboxMap.loadStyleJson and MapboxMap.loadStyle methods and introduce one MapboxMap.loadStyle accepting either URI / JSON or Style DSL block.
  • Replace com.mapbox.maps.plugin.animation.Cancelable with com.mapbox.common.Cancelable.
  • Remove TileStoreOptions.MAPBOX_ACCESS_TOKEN used e.g. in TileStore.setOption(TileStoreOptions.MAPBOX_ACCESS_TOKEN, someDomain, someValue) as it has become redundant.
  • Introduce MapboxTracing object allowing to enable Android traces to measure performance of the SDK. More details and instructions could be found in Working with traces section in DEVELOPING.md.
  • Remove Mapbox plugin implementations from public API surface.
  • Remove HttpServiceFactory.getInstance, HttpServiceFactory.reset, HttpServiceFactory.setUserDefined methods.
  • Replace HttpServiceFactory.getInstance().setInterceptor with HttpServiceFactory.setHttpServiceInterceptor.
  • Argument dataId of the GeoJson.feature, GeoJson.featureCollection, GeoJson.geometry, GeoJson.url, GeoJson.data became non-nullable.
  • Remove Style.getStyleSourcesAttribution. MapboxMap.getAttributions should be used instead.
  • (Kotlin only) Remove Style.getStyleSources() / Style.getStyleLayers(). Properties Style.styleSources / Style.styleLayers should be used instead.
  • Replace style related enum classes with regular classes.
  • Migrate from android.app.AlertDialog to androidx.appcompat.app.AlertDialog for attribution plugin.
  • Rename MapboxMap.subscribeStyleImageUnused to MapboxMap.subscribeStyleImageRemoveUnused.
  • The MapCameraPlugin's onCameraMove method now uses Point for camera center and EdgeInsets for padding.
  • Remove MapInitOptions.optimizeForTerrain as whenever terrain is present layer order is automatically adjusted for better performance.
  • Replace MapboxMap and MapCameraManagerDelegate APIs dragStart, dragEnd, getDragCameraOptions with cameraForDrag, setCenterAltitudeMode.
  • Remove setter functions for Style.styleURI and Style.styleJSON as loading the style should happen only with MapboxMap.loadStyle.
  • Rename StyleImageMissing.getStyleImageMissingEventData to StyleImageMissing.toStyleImageMissingEventData.
  • Rename MapCameraManagerDelegate properties for methods cameraForCoordinateBounds, cameraForCoordinates and cameraForGeometry to align them with MapboxMap methods.
  • Consolidate FetchTileFunctionCallback and CancelTileFunctionCallback by single type TileFunctionCallback.
  • Make Image parameter nullable in setStyleCustomRasterSourceTileData() method.
  • Extension function Style.getProjection() return type changed from Projection to Projection?.
  • Extension function LocationComponentPlugin.createDefault2DPuck in LocationComponentUtils.kt is now stand-alone createDefault2DPuck.
  • Extension function LocationComponentPlugin.createDefault2DPuck in LocationComponentUtils is now stand-alone createDefault2DPuck.
  • Function createDefault2DPuck does not require a context parameter.
  • Increase minimum location puck bearing threshold needed to trigger an animation to 1 degree (previously 0.01 degrees) to reduce the CPU usage.
  • Location component puck bearing enabled property (MapView.location.puckBearingEanbled) has been changed to false by default.
  • ViewAnnotationManager.getViewAnnotationByFeatureId is renamed to ViewAnnotationManager.getViewAnnotation,
  • ViewAnnotationManager.getViewAnnotationByFeatureId is renamed to ViewAnnotationManager.getViewAnnotation.
  • ViewAnnotationManager.getViewAnnotationOptionsByView is renamed to ViewAnnotationManager.getViewAnnotationOptions.
  • ViewAnnotationManager.getViewAnnotationOptionsByFeatureId is renamed to ViewAnnotationManager.getViewAnnotationOptions.
  • ViewAnnotationAnchorConfig fields offsetX/offsetY are now of type Double instead of Int.
  • ViewAnnotationOptions accepts list of anchors variableAnchors instead of anchor/offsetX/offsetY.
  • ViewAnnotationOptions fields width/height are now of type Double instead of Int.
  • OnViewAnnotationUpdatedListener.onViewAnnotationPositionUpdated arguments width/height are now of type Double instead of Int.
  • Add getName method to DeviceLocationProvider interface.
  • Add boolean parameter allowUserDefined to getDeviceLocationProvider method in LocationService interface.
  • Add LocationService.getDeviceLocationProvider method that accepts ExtendedLocationProviderParameters to LocationService interface.

Features ✨ and improvements 🏁

  • Introduce new Mapbox 3D style Style.STANDARD and make it default.
  • Add dynamic view annotations that can be attached to complex feature geometries and reposition itself based on the current camera viewport. To create dynamic view annotation use AnnotatedFeature of type ANNOTATED_LAYER_FEATURE. Multiple dynamic view annotations can be attached to the same feature. Also additional options ViewAnnotationOptions.allowOverlapWithPuck and ViewAnnotationOptions.ignoreCameraPadding introduced to configure the ...
Read more

v11.0.0-rc.2

17 Nov 13:19
Compare
Choose a tag to compare
v11.0.0-rc.2 Pre-release
Pre-release

11.0.0-rc.2 November 17, 2023

Breaking changes ⚠️

  • Minimum OpenGL ES version is now 3.0

Features ✨ and improvements 🏁

  • Promote Mapbox Standard style to stable.
  • Introduce ViewAnnotationOptions.allowOverlapWithPuck and ViewAnnotationOptions.ignoreCameraPadding to configure the dynamic view annotation's behaviour.
  • Avoid placing view annotation on overlapped line geometries, if the current bound layer is below other annotated line layers.

Bug fixes 🐞

  • [compose] Fix a lifecycle handling issue for MapboxMap which results in potential memory leak.
  • Fix a StackOverflow crash when MultiGeometry is used for OverviewViewportStateOptions.
  • Fix flickering and wrong positions in elevated symbols.
  • Update style layer's source should trigger repaint.
  • Fix failure to load a 3D model when it uses a 32-bit index buffer.
  • Fix rendering of the updated content on the map after a feature state change if terrain or globe were enabled.
  • Fix view annotation disappearing on the upper parts of the screen when terrain is enabled.
  • Trigger view annotation replacement if the associated layer/source gets changed.
  • Fix a bug where snapshot is rendered without 3D content.

Dependencies

  • Update gl-native to v11.0.0-rc.2 and common to v24.0.0-rc.3.

Known issues

  • When adding a view annotation with ViewAnnotationOptions.allowOverlapWithPuck or ViewAnnotationOptions.ignoreCameraPadding set to true, the same option for all the view annotations added previously will be overwritten to true. The fix will land in the next release.

v10.16.2

08 Nov 12:52
Compare
Choose a tag to compare

10.16.2 November 08, 2023

Bug fixes 🐞

  • Fix a crash because of non-exported runtime-registered broadcasts receivers for apps targeting SDK 34.
  • Do not crash with IncompatibleGooglePlayServicesLocationVersion if fused location provider is not found.
  • Fix line label flickering issue by eliminating the anchor rounding error.
  • Re-throw unknown native render exception with more debug information.

Dependencies

  • Update gl-native to v10.16.2 and common to v23.8.4.

v11.0.0-rc.1

03 Nov 14:34
Compare
Choose a tag to compare
v11.0.0-rc.1 Pre-release
Pre-release

11.0.0-rc.1 November 03, 2023

Breaking changes ⚠️

  • Add LocationService.getDeviceLocationProvider method that accepts ExtendedLocationProviderParameters to LocationService interface.

Features ✨ and improvements 🏁

  • From v11.0.0-rc.1, Mapbox Compose Extension for Android is released as a separate module following the same release cadence with the main SDK, please refer to this guide to get started with Jetpack Compose, and v0.1.0 changelog for previous changelogs.
  • [compose] Add experimental MapEvents to handle all events emitted by MapboxMap.
  • [compose] Expose PointAnnotationGroup.symbolZElevate property.
  • [compose] Add ViewAnnotation.layoutParams property.
  • Introduce ExtendedLocationProviderParameters to specify DeviceLocationProvider parameters.
  • Add coordinatesPadding, maxZoom and offset parameters to OverviewViewportStateOptions to allow more granular control of OverviewViewportState.
  • Add CircleAnnotationManager.slot, PointAnnotationManager.slot, PolygonAnnotationManager.slot, PolylineAnnotationManager.slot to place the associated layer of the AnnotationManager to the correct position of the map.
  • Expose experimental CustomRasterSource and non-experimental CustomGeometrySource as regular Source's providing a better way to work with them and also allowing using them in Style DSL.
  • Deprecate CustomGeometrySource.invalidTile and CustomGeometrySource.invalidRegion; CustomGeometrySource.invalidateTile and CustomGeometrySource.invalidateRegion should be used instead.
  • Add LocationPuck3D.modelEmissiveStrength and LocationPuck3D.modelEmissiveStrengthExpression properties to LocationComponent plugin to control the strength of the light emission.

Bug fixes 🐞

  • Fixed an issue where the camera padding is not calculated properly for OverviewViewportState.
  • [compose] Fix the bug where wrong pixel ratio could be used in a dual display setup.
  • Fix the line label flickering issue by eliminating the anchor rounding error.
  • Fix rendering of large/complex fill extrusion features.
  • Fix a crash because of non-exported runtime-registered broadcasts receivers for apps targeting SDK 34.

Dependencies

  • Update gl-native to v11.0.0-rc.1 and common to v24.0.0-rc.2.

v11.0.0-beta.6

24 Oct 08:03
Compare
Choose a tag to compare
v11.0.0-beta.6 Pre-release
Pre-release

11.0.0-beta.6 October 24, 2023

Breaking changes ⚠️

  • Extension function Style.getProjection() return type changed from Projection to Projection?.
  • Extension function LocationComponentPlugin.createDefault2DPuck in LocationComponentUtils.kt is now stand-alone createDefault2DPuck.
  • Extension function LocationComponentPlugin.createDefault2DPuck in LocationComponentUtils is now stand-alone createDefault2DPuck.
  • createDefault2DPuck does not require a context parameter.
  • Increase minimum location puck bearing threshold needed to trigger an animation to 1 degree (previously 0.01 degrees) to reduce the CPU usage.
  • Location component puck bearing enabled property (MapView.location.puckBearingEanbled) has been changed to false by default.
  • ViewAnnotationManager.getViewAnnotationByFeatureId is renamed to ViewAnnotationManager.getViewAnnotation,
  • ViewAnnotationManager.getViewAnnotationByFeatureId is renamed to ViewAnnotationManager.getViewAnnotation.
  • ViewAnnotationManager.getViewAnnotationOptionsByView is renamed to ViewAnnotationManager.getViewAnnotationOptions.
  • ViewAnnotationManager.getViewAnnotationOptionsByFeatureId is renamed to ViewAnnotationManager.getViewAnnotationOptions.
  • ViewAnnotationAnchorConfig fields offsetX/offsetY are now of type Double instead of Int.
  • ViewAnnotationOptions accepts list of anchors variableAnchors instead of anchor/offsetX/offsetY.
  • ViewAnnotationOptions fields width/height are now of type Double instead of Int.
  • OnViewAnnotationUpdatedListener.onViewAnnotationPositionUpdated arguments width/height are now of type Double instead of Int.
  • Add getName method to DeviceLocationProvider interface.
  • Add boolean parameter allowUserDefined to getDeviceLocationProvider method in LocationService interface.

Features ✨ and improvements 🏁

  • Add dynamic view annotations that can be attached to complex feature geometries and reposition itself based on the current camera viewport. To create dynamic view annotation use AnnotatedFeature of type ANNOTATED_LAYER_FEATURE. Multiple dynamic view annotations can be attached to the same feature.
  • The following APIs have been promoted to stable:
    • LineLayer.lineDepthOcclusionFactor, LineLayer.lineDepthOcclusionFactorTransition, LineLayer.lineEmissiveStrength and LineLayer.lineEmissiveStrengthTransition
    • SymbolLayer.iconImageCrossFade, SymbolLayer.iconImageCrossFadeTransition, SymbolLayer.iconEmissiveStrength, SymbolLayer.iconEmissiveStrengthTransition, SymbolLayer.textEmissiveStrength and SymbolLayer.textEmissiveStrengthTransition
    • BackgroundLayer.backgroundEmissiveStrength and BackgroundLayer.backgroundEmissiveStrengthTransition
    • CircleLayer.circleEmissiveStrength and CircleLayer.circleEmissiveStrengthTransition
    • FillLayer.fillEmissiveStrength and FillLayer.fillEmissiveStrengthTransition
    • FlatLight, AmbientLight, DirectionalLight and related APIs
    • slot for all the layers
    • Style Import APIs: getStyleImports, removeStyleImport, getStyleImportSchema, getStyleImportConfigProperties, getStyleImportConfigProperty, setStyleImportConfigProperties, setStyleImportConfigProperty
    • Annotation plugin APIs: CircleAnnotationManager.circleEmissiveStrength, PolygonAnnotationManager.fillEmissiveStrength, PolylineAnnotationManager.lineDepthOcclusionFactor, PolylineAnnotationManager.lineEmissiveStrength
    • Map Overlay plugin and related APIs
  • (Kotlin only) Deprecated MapboxMap.getStyle() function. Please use property MapboxMap.style.
  • (Kotlin only) Deprecated MapView.getMapboxMap() function. Please use property MapView.mapboxMap.
  • (Kotlin only) Deprecated MapSurface.getMapboxMap() function. Please use property MapSurface.mapboxMap.
  • Handle zero duration map camera animators more efficiently resulting in performance improvements for gestures / viewport / locationcomponent.
  • DefaultLocationProvider.updatePuckBearing now accepts null to stop listening for heading/course.
  • DefaultLocationProvider.updatePuckBearing now accepts null to stop listening for heading/course.
  • Add keep-legacy-style-pack style pack load extra option that prevents the style package removal from the legacy storage.
  • Enable rendering of fill extrusion flood lights on the ground with fully transparent fill extrusions.
  • Add cameraForCoordinates overload so that the padding for map and geometry can be specified separately.
  • Disable terrain when zoom-dependent exaggeration expression evaluates to zero.
  • Add support for glb 3D tiles.
  • Align hillshade illumination direction with 3D lights.

Bug fixes 🐞

  • Fix widgets not showing on some zoom levels.
  • Fix widgets flickering due to race condition if they are animated.
  • Fix crash when setting mapbox:mapbox_locationComponentLocationPuck = "location_puck_2_d" in map view XML without specifying all images.
  • Fix changing location bearing from HEADING to COURSE not working.
  • Avoid listening for heading/course when location component puck bearing is disabled.
  • Fix the crash clicking on attribution when not using the AppCompat theme.
  • Do not overwrite style URL when setting invalid style JSON.
  • Do not store SDK version in TileStore.

Dependencies

  • Update gl-native to v11.0.0-beta.7 and common to v24.0.0-beta.7.

v11.0.0-beta.5

09 Oct 13:57
Compare
Choose a tag to compare
v11.0.0-beta.5 Pre-release
Pre-release

11.0.0-beta.5 October 09, 2023

Breaking changes ⚠️

  • Rename MapCameraManagerDelegate properties for methods cameraForCoordinateBounds, cameraForCoordinates and cameraForGeometry to align them with MapboxMap methods.
  • Consolidate FetchTileFunctionCallback and CancelTileFunctionCallback by single type TileFunctionCallback.
  • Make Image parameter nullable in setStyleCustomRasterSourceTileData() method.

Features ✨ and improvements 🏁

  • Add GeoJsonSource.data(..) overloads to allow Java to call with and without dataId.
  • Add a new layer type CustomLayer and style DSL to create it. CustomLayer allows to use custom OpenGL ES rendering through CustomLayerHost. CustomLayer contains the slot property allowing using it with the Standard style.
  • Improve the caching model for the custom raster source.
  • Optimize custom raster source data update.
  • Increase rendering performance of shadows.
  • Print warning log message for unknown style layer properties instead of causing fatal errors.
  • Optimise memory usage in the FillExtrusionLayer.
  • Improve the rendering performance of a SymbolLayer that uses SymbolLayer.symbolSortKey property.
  • Reduce memory usage in fill-extrusion flood light and ground ambient occlusion.

Bug fixes 🐞

  • Hide methods and properties from Java in MapView, MapboxMap and Snapshotter that are not supposed to be public.
  • Fix Style docs for methods setStyleImportConfigProperties, setStyleImportConfigProperty, removeGeoJSONSourceFeatures.
  • Fix flood light not working by changing default EGL config to RGBA_8888.
  • Fix a bug where the map would not zoom above a certain threshold on high-pitched views.
  • Fix crashes if 3D layers are used alone on terrain or globe without any other layer types.
  • Fix LineLayer leaking if placed behind the satellite layer.
  • Fix line and raster layers interop for draped mode.
  • Fix a crash when consecutive snapshot requests were made.
  • Fix erroneous shadow map sampling of distant landmarks.
  • Fix incorrect level-of-detail model being chosen for trees in some scenarios.
  • Fix the style layer minimum and maximum zoom default values from infinity to actual ones.

Dependencies

  • Update gl-native to v11.0.0-beta.6 and common to v24.0.0-beta.6.

v10.16.1

03 Oct 14:29
Compare
Choose a tag to compare

10.16.1 October 03, 2023

Bug fixes 🐞

  • Fix incorrectly set begin timestamp for the RenderFrameFinished event.
  • Fix a rendering error that broke symbol layers on Samsung S22 devices.
  • Cache featureState for newly added source in case it is not available in renderer.
  • Fix HTTP requests not being paused in background.
  • Fix a crash that occurred when consecutive snapshot requests were made.
  • Fix a crash when using Google Play Activity Recognition API v21 or higher.

Dependencies

  • Update gl-native to v10.16.1 and common to v23.8.3.

v11.0.0-beta.4

21 Sep 16:48
Compare
Choose a tag to compare
v11.0.0-beta.4 Pre-release
Pre-release

11.0.0-beta.4 September 21, 2023

Breaking changes ⚠️

  • Remove setter functions for Style.styleURI and Style.styleJSON as loading the style should happen only with MapboxMap.loadStyle.
  • Rename StyleImageMissing.getStyleImageMissingEventData to StyleImageMissing.toStyleImageMissingEventData.

Features ✨ and improvements 🏁

  • Introduce experimental APIs to work with Custom Raster Sources: MapboxMap.addCustomRasterSource, MapboxMap.setCustomRasterSourceTileData, MapboxMap.invalidateCustomRasterSourceTile, MapboxMap.invalidateCustomRasterSourceRegion.
  • Copy relevant Style methods to MapboxMap providing better alignment with iOS and GL-JS.
  • Add FillExtrusionLayer.fillExtrusionCutoffFadeRange and ModelLayer.modelCutoffFadeRange to control fade out of the layers when pitch is used.
  • Improve atmosphere rendering performance.
  • Improve fill layer and model layer rendering performance on high pitch views.
  • Improve GPU performance by drawing opaque 3D geometry without blending.
  • Introduce experimental SymbolLayer.symbolZElevate property to elevate symbols along with the buildings that are in the same place. The feature is supported for symbols with point placement only.
  • Add Atmosphere.verticalRange property.

Bug fixes 🐞

  • Free resources immediately after map event subscription is canceled.
  • Fix map event listeners not being removed when MapboxMap.remove*Listener is called.
  • Fix issue where the terrain didn't work if defined within a style fragment.
  • The Custom Geometry Source fetchTileFunction and cancelTileFunction callbacks are invoked on the client thread.
  • Fixes a rendering error that broke symbol layers on Samsung S22 devices.
  • Cache featureState for newly added source in case it is not available in renderer.
  • Fix issue with model layer blending with geometry tile source.
  • Fix incorrectly set begin timestamp for the RenderFrameFinished event.

Dependencies

  • Update gl-native to v11.0.0-beta.5 and common to v24.0.0-beta.5.

v11.0.0-beta.3

08 Sep 11:29
Compare
Choose a tag to compare
v11.0.0-beta.3 Pre-release
Pre-release

11.0.0-beta.3 September 08, 2023

Breaking changes ⚠️

  • The MapCameraPlugin's onCameraMove method now uses Point for camera center and EdgeInsets for padding.
  • Remove MapInitOptions.optimizeForTerrain as whenever terrain is present layer order is automatically adjusted for better performance.
  • Replace MapboxMap and MapCameraManagerDelegate APIs dragStart, dragEnd, getDragCameraOptions with cameraForDrag, setCenterAltitudeMode.

Features ✨ and improvements 🏁

  • Avoid creating unnecessary objects during animation under some conditions.
  • Improve map camera and gestures when terrain is used to fix camera bumpiness and map flickering.
  • Use a fallback glyph URL if a style does not define one. This enables the addition of Symbol layers to an empty style or to the style that doesn't use Symbol layers.
  • Use ETC2 compression for raster tiles to support transparency.

Bug fixes 🐞

  • Fix scale bar receives camera changes after being disabled the first time.
  • Fix camera flying away on pitch gesture after some other animations.
  • Fix map not being rendered when EGL exception happens but Android surface is still valid.
  • Fix fallback rules for the style's transition property. The change fixes style transitions when style imports are modified for the Standard style.
  • Fix terrain rendering for the Terrarium-encoded tiles.
  • Cancel pending style url loading request when loading a new style json.
  • Fixes an issue that causes view annotations to be placed on the sky when high pitch and mercator projection is used.

Dependencies

  • Update gl-native to v11.0.0-beta.4 and common to v24.0.0-beta.4.