Mapbox welcomes participation and contributions from everyone. If you'd like to do so please see the Contributing Guide
first to get started.
Work on the Mapbox Maps SDK for Android is now happening at https://github.com/mapbox/mapbox-gl-native-android. Please see the README at https://github.com/mapbox/mapbox-gl-native-android for the most up-to-date information on the Maps SDK for Android.
- Added support for image expression in core library. Runtime APIs for image expression will be implemented separately. #15877
- Make network requests for expired resources lower priority than requests for new resources. (#15950)
- Fixed the rendering bug caused by redundant pending requests for already requested images #15864
- Fixed Geo JSON source flickering on style transition #15907
- Fixed flickering caused by unnecessary removing and re-adding of the render sources when the order of their corresponding style objects was changed in the updated style #15941
- Enable incremental vacuum for the offline database in order to make data removal requests faster and to avoid the excessive disk space usage (creating a backup file on VACUUM call) #15837
- Convert GeoJSON features to tiles in a background thread and thus unblock the UI thread on updating the GeoJsonSource #15871
- Convert GeoJSON features to tiles for the loaded source description in a background thread and thus unblock the UI thread #15885
- Introduce
OfflineManager#packDatabase
andOfflineRegion#deleteAndSkipPackDatabase
API in order to decouple offline storage vacuum and delete region operations and thus to gain performance benefits e.g. when several regions should be deleted in a row #15899
Changes since Mapbox Maps SDK for Android v8.5.0-alpha.1:
- Expose pre-fetching zoom delta, allows to granular control the delta on which we prefetch tiles #15769
- Improved rendering performance for the styles with multiple sources #15756
- Fixed runtime exceptions that occurred when a manually built camera object without padding was serialized. #15788
- Keep Mapbox when obfuscating code with proguard #15762
Changes since Mapbox Maps SDK for Android v8.4.0:
- Suppress network requests for expired tiles update, if these tiles are invisible. #15741
- Fixed opacity interpolation for composition expressions #15738
- Fixed an issue where
Projection#getMetersPerPixelAtLatitude
returned a value incorrectly divided by the pixel ratio. This also fixes an issue whereLocationComponent
accuracy circle's radius was artificially increased. #15742 - Coalesce requests to the client for the same missing image #15778
Changes since Mapbox Maps SDK for Android v8.4.0-beta.1:
- Fixing a crash when
CameraPosition
padding is set when usingMapSnapshotter
. #15699
- Bumped Java SDK dependency to stable 4.9.0 #15700
- Migrate map feedback to GL JS–powered feedback form #15623
Changes since Mapbox Maps SDK for Android v8.4.0-alpha.2:
- Fixed an issue that
maxzoom
in styleSources
option was ignored when URL resource is provided. It may cause problems such as extra tiles downloading at higher zoom level thanmaxzoom
, or problems that wrong setting ofoverscaledZ
inOverscaledTileID
that will be passed toSymbolLayout
, leading wrong rendering appearance. #15581 - Fixed constant repainting for the sources with invisible layers, caused by
RenderSource::hasFadingTiles()
returningtrue
all the time. #15600 - Fixed an issue that caused the state of CompassView not up to date when
UiSettings.setCompassEnabled()
is set to true. #15606 - Ignore location tracking mode based animations when the camera is transitioning. #15641
- Fixed MapSnapshotter so that
MapSnapshotter.withApiBaseUri
works again. #15642 - Fixed an assertion hit caused by possibility of adding a layer to an incompatible source. #15644
Changes since Mapbox Maps SDK for Android v8.3.1:
- Fixed an issue of integer overflow when converting
tileCoordinates
toLatLon
, which caused issues such asqueryRenderedFeatures
andquerySourceFeatures
returning incorrect coordinates at zoom levels 20 and higher. #15560
Changes since Mapbox Maps SDK for Android v8.3.0:
- Updated earcut.hpp submodule file #15660
- Fixed a wrong variable assignment of
MapSnapshotter.Options.withApiBaseUri
. #15642
Changes since Mapbox Maps SDK for Android v8.4.0-alpha.1:
- Newly loaded labels appear faster on the screen. #15308
- Fixed an issue of integer overflow when converting
tileCoordinates
toLatLon
, which caused issues such asqueryRenderedFeatures
andquerySourceFeatures
returning incorrect coordinates at zoom levels 20 and higher. #15560
- Bumped Java SDK dependency to 4.9.0-alpha.1 #15570
Changes since Mapbox Maps SDK for Android v8.3.0:
- Introduce
clusterProperties
option for aggregated cluster properties. #15425 - Expose the
CameraPosition#padding
field and associated utility camera position builders. This gives a choice to set a persisting map padding immediately during a transition instead of setting it lazilyMapboxMap#setPadding
, which required scheduling additional transition to be applied. This also deprecatesMapboxMap#setPadding
as there should be no need for a lazy padding setter. #15444 - Add number-format expression that allows to format a number to a string, with configurations as minimal/maximal fraction and locale/currency. #15424
- Enable using of
text-offset
option together withtext-variable-anchor
(iftext-radial-offset
option is not provided). If used withtext-variable-anchor
, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position. #15542
- Fixed a rendering issue of
collisionBox
whentext-translate
oricon-translate
is enabled. #15467 - Fixed unnecessary layers blink when the same components are re-added after the style reload #15513
- Fixed an issue in JNI marshaling code that converted a float to long that produced invalid expressions #15557
- Call callback onFinish() immediately when trying to move camera to current position #15558
- Mark used offline region resources in batches. #15521
Changes since Mapbox Maps SDK for Android v8.3.0-beta.1:
This release changes how offline tile requests are billed — they are now billed on a pay-as-you-go basis and all developers are able raise the offline tile limit for their users. Offline requests were previously exempt from monthly active user (MAU) billing and increasing the offline per-user tile limit to more than 6,000 tiles required the purchase of an enterprise license. By upgrading to this release, you are opting into the changes outlined in this blog post and #15380.
- Allow ability to pass a string array resource into
localIdeographFontFamily
for enabling/disabling the feature and specifying fallback fonts. #15488
- Fixed a rendering issue caused by all icons being treated as SDFs if an SDF and non-SDF icon were in the same layer. #15456
- Fixed an issue where changing location's render mode when the
LocationComponent
is disable wouldn't invalidate the foreground icon when it's back enabled. #15507
Changes since Mapbox Maps SDK for Android v8.2.1:
- Fixed a possible crash that could be caused by invoking the wrong layer implementation casting function. #15398
- Fixed use of objects after moving, potentially causing crashes. #15408
- Fixed a wrong calculation of visibility in high pitch scenarios which might've led to tiles in the viewport not being rendered. #15461
- Do not invalidate the camera immediately when map padding is set. Reverts a change introduced in the
v8.2.0
. #15437
Changes since Mapbox Maps SDK for Android v8.3.0-alpha.3:
- Fixed a bug where glyphs generated through the LocalGlyphRasterizer interface were changing fonts during some zoom changes. #15407
- Fixed use of objects after moving, potentially causing crashes. #15408
- Fixed a possible crash that could be caused by invoking the wrong layer implementation casting function #15398.
- Font lookup on pre lollipop devices failed, provide default font list instead #15410.
- Fixed rendering and collision detection issues with using
text-variable-anchor
andicon-text-fit
properties on the same layer #15367. - Fixed a bug where quick-scale was registered during a move gesture that followed a double-tap. Bumped gestures library to
v0.5.1
. #15427 - Fixed symbol overlap when zooming out quickly. #15416
- Do not invalidate the camera immediately when map padding is set. Reverts a change introduced in the
v8.2.0
. #15437
- Add javadoc to OnStyleImageMissingListener indicating the required synchronous addition images, document workaround #15418
Changes since Mapbox Maps SDK for Android v8.3.0-alpha.2:
- Bumped gestures library version to v0.5.0 which replaces the compat gesture detector with a custom scale gesture detector implementation. This is a softly breaking change because the underlying scale gesture detector reference has been removed. This brings a set of improvements to gestures without removing any functionality from the previous implementation. #15136
- Improved scale and rotate gestures by refining sensitivity thresholds and animation velocity. #15136
- Improved quick-zoom gestures by making zoom changes linear. Quick-zoom scale changes are now executed based on y-axis delta changes. #15386
- Introduced the text-writing-mode layout property for symbol layers. This property allows labels to be placed horizontally or vertically. The property accepts an array of enumeration values from a ( horizontal | vertical ) set. #14932
- Added support for fallback fonts in
localIdeographFontFamily
. #15255
- Fixed an issue where it was possible to set the map’s content insets then tilt the map enough to see the horizon, causing performance issues #15195
- Allow loading of a map without a style URI or style JSON #15293
- Fixed an issue where animated camera transitions zoomed in or out too dramatically #15281
- Enable variable label placement when
text-allow-overlap
property is set to true #15354
Changes since Mapbox Maps SDK for Android v8.3.0-alpha.1:
- Load a style without an URI or JSON #15293
- Do not try to wake up the RunLoop if a wake is already pending. Fixes offline downloads that could freeze after resuming. #15330
Changes since Mapbox Maps SDK for Android v8.0.1:
- Fixed rendering layers after fill-extrusion regression caused by optimization of fill-extrusion rendering #15065
- Fixed a map update bug caused by the render tiles and the render passes getting unsynchronized #15092
- Fixed a custom geometry source bug caused by using the outdated tiles after style update #15112
- Ensure location shadow's gradient radius is greater than 0 #15099
Changes since Mapbox Maps SDK for Android v7.4.0:
- Fixed a map update bug caused by the render tiles and the render passes getting unsynchronized #15092
- Ensure location shadow's gradient radius is greater than 0 #15099
- Fixed a custom geometry source bug caused by using the outdated tiles after style update #15112
Changes since Mapbox Maps SDK for Android v8.2.0:
- Do not include CJK ideographs in the offline packs by default. This decreases overall offline download size but changes appearance by a default set local glyph generation #14269
- Update target SDK to 28, update support library and fix gradle warnings #15135
- Introduce VertexVector::extend() and use it in placement code #15194
- Save location animation timestamp only when fed. Fixes an issue where external camera updates impacted location animation duration#15265
- Fixed flickering on style change for the same tile set #15127
- Fix location render/camera modes being reinitialized even when the new mode is the same #15266
- Ensure default local ideographs font family is not overwrote. Fix a bug that prevented local CJK glyphs generation. The local generation is now enabled by default and the font family used for generation is set to "sans-serif. #15253
- Fix int overflow issue in GridIndex #15245
- Align gesture animation reason for onCameraMoveStarted #15218
- Remove layers first when clearing the style, fixes unnecessary log dumps #15191
- Remove unused field from icon buffer #15189
- Release quad data after vertex buffers are created #15189
- Decrease size of SymbolBucket #15178
- Avoid geometry collections copying #15201
Changes since Mapbox Maps SDK for Android v8.2.0:
- Save location animation timestamp only when fed #15265
Changes since Mapbox Maps SDK for Android v8.1.0:
- Fixed rendering layers after fill-extrusion regression caused by optimization of fill-extrusion rendering #15065
- Fixed a map update bug caused by the render tiles and the render passes getting unsynchronized #15092
- Fixed collision with content insets #15130
- Fixed a custom geometry source bug caused by using the outdated tiles after style update #15112
- Allow map panning after quick zoom is disabled but a phantom gesture is executed #15093
- Ensure location shadow's gradient radius is greater than 0 #15099
- Ensure that move detector is enabled if double-tap is interrupted #15103
Changes since Mapbox Maps SDK for Android v8.2.0-beta.1:
- Fix rendering of layers that are on top of fill-extrusion layers #15065
Changes since Mapbox Maps SDK for Android v8.2.0-alpha.3:
- Fix
CustomGeometrySource
bug caused by usage of outdated tiles after a style update #15112 - Fix bug where previous anchors set in
text-variable-anchor
were still preferred after anchor options were reset #15129 - Fix issue where annotations could not be selected due to a regression in content insets #15130
Changes since Mapbox Maps SDK for Android v8.2.0-alpha.2:
- Fix map update bug caused by render tiles and render passes becoming unsynchronized #15092
- Fix fill-extrusion layers always rendered above other layers #15065
- Fix a bug where map panning would be blocked after a quick zoom gesture was attempted when quick zoom is set to be ignored by
UiSettings
preferences #15093 - Fix a bug where map panning would be blocked if double-tap is interrupted #15103
- Improve performance of queryRenderedFeatures by removing unnecessary iterations over vectors and unneeded layers #14930
- Decrease the minimum pixel distance between the current camera position and the target required to interpolate during camera animation #15073
- Introduce
MapboxMapOptions
facility creation method #15069 - Throw configuration exception when accessing Mapbox services with an invalid token #15081
- Allow setting a null access token in the runtime #15081
- Ensure location shadow's gradient radius is greater than 0 #15099
- Update okhttp to latest stable version that support pre lollipop (
3.12.3
) #15087 - Fix up "match" expressions docs with stop arguments #15102
Changes since Mapbox Maps SDK for Android v8.2.0-alpha.1:
- Cache management API #14962
- Fix style change transition regression caused by delayed setting of the updated layer properties #15016
- Include Hiragana and Katakana glyph ranges to LocalGlyphRasterizer #15009
- Update CI image with NDK r20 #15005
Changes since Mapbox Maps SDK for Android v8.1.0:
- Fix
queryRenderedFeatues
bug caused by incorrect sort feature index calculation #14884 - Fix performance regression by switching back to a more compact line attributes layout #14851
- Fix a bug that restricted camera viewport after camera bounds were reset #14882
- Fix a bug that ignored floating point values during core to platform color conversion #14954
- Implemented asymmetric center of perspective: fixed an issue that caused the focal point to be always based on the view's horizontal center when setting MapboxMap setPadding. #14664
- Allow null updates to GeoJsonSource #14898
- Add resource usage to HttpRequest, add offline query flag to HttpRequest #14837
- Accept floating numbers during core->platform color conversion #14954
- Ensure to re-enable move when quickzoom finishes #14965
- Limit concurrent request for Android 4.4 and below to 10 #14971
Note about #14971: This pr makes an adjustment as a precautionary measure towards a rare bug that was discovered via instrumented unit tests on Android 4.4 (aka KitKat). This bug isn’t tied to a code change in the Mapbox Maps SDK for Android. Rather, the root cause is on the Android OS (and how it interacts with OkHttp).
The Maps SDK doesn’t directly communicate with this system library that the bug originates from, but goes through an external dependency that handles the http communication for the Maps SDK. Capturing from the upstream repository that the code path to this system library isn’t thread safe in Android 4.4 and can result in the native crash above. The only way to fix this issue is by upgrading the end-user device to Android 5.0 or higher which isn’t possible if the device manufacturer hasn’t released an update for it.
Please see square/okhttp#2679 for more information.
- Fix compilation warning with updated clang #14865
- Fix reset behavior for setLatLngBoundsForCameraTarget #14882
- Add resource usage to HttpRequest, add offline query param #14837
- Reset the native renderer only when the GL thread exits #14841
- Change library loader from Relinker to SoLoader #14890
- Rename URL API to URI #14836
- Bumping Android telemetry to 4.5.1 #14874
- Add external links to javadoc generation, fix warnings #14792
- Return color string values in the [0-255] range #14233
- Resume file source to complete resources cache path change #14546
- Remove binary shader support #14707
- Deprecate MapboxMapOptions empty constructor #14748
- Break location camera tracking when a developer invoked animation starts #14745
- Use URI instead of URL to enable asset loading #14750
- Option to change the zoom rate. Decrease the default zoom rate by 35% #14774
- Provide API to control eviction of cached images #14610
- Android specific thread pool that keeps threads attached to JVM #14450
- Asymmetric viewport when edge insets are specified #14664
- Update maven publishing script to enable aar packaging #14778
- Do not try to package duplicate files in the publication #14822
- Document that elevation(0) turns off the location shadow #14723
- This release improves the method for counting monthly active users. By upgrading to this release, you are opting into the changes outlined in this blog post. #14404
- Avoid binary shader load race condition with using multiple maps, disable binary shaders #14298
- Option to provide custom values for location camera transition #14606
- Expose trackingGesturesManagement attribute #14659
- Harden onLowMemory call, use atomic boolean for thread safe management of the render surface #14622
- Normalize previous rotation values of the location animator #14626
- Remove telemetry gesture event handling code #14627
- Pull in Polish translation and updates to Czech and Hungarian #14679
- Add javadoc to highlight incompatible onIdle event with snapshot api #14621
- Revert SKU token logic #14594
- Keep strong references to the FileSource/OfflineManager operations callbacks #14601
- Failed sprite requests do not block tiles rendering #14605
- Remove missing image log #14600
- Keep shared_ptr to thread pool in CustomGeometrySource #14562
- Changed placement order of symbols to match the viewport-y order when the
PropertyValue#symbolZOrder
is set toSYMBOL_Z_ORDER_VIEWPORT_Y
, improving collision detection and rendering of symbol layers when icons are allowed to overlap but not text. #14486
- Use same OfflineRegion#isComplete logic as core #14500
- Add toString, hashcode and equals to OfflineRegionError #14499
- Add "layer-above" option to the LocationComponent #14497
- Clear up LocationComponent's z-index positioning docs #14497
- Less strict rules for adding render layers to sources #14540
- Store type of renderable segment when sorting symbols by key #14517
- Bump gestures library to v0.4.2 #14524
- Enable/Disable SKU token handling #14476
- Order render items properly across several sources #14408
- Ignore equal offline region's download state updates #14399
- Activate the ConnectivityReceiver when starting the download #14397
- Port symbol-sort-key symbol layout property #14386
- Add style image missing binding integration #14320
- Allow snapshot generation without overlain view content #14413
- Introduce AccountsManager to support SKU tokens in API requests #14404
- Add MapEventFactory #14309
- Only perform thread checking in debug builds #14293
- Bump gestures library to v0.4.1 #14435
- Update mapbox java sdk to v4.6.0 #14424
- Bump telemetry to 4.4.1 #14309
- Program against NativeMap #14412
- Unify has surface state handling, allow querying after map resume #14426
- Harden renderer invocation when Activity is resumed #14395
- Check for Mapbox#INSTANCE when initializing the MapView #14366
- Disable binary programs shaders #14298
- Check for Mapbox#INSTANCE when initializing the MapView #14366
- Clear previous style loaded listener when setting a new style#14338
- Allow resetting a custom OkHttp client to the default impl #14349
- Expose LocationComponentConstants class #14333
- Fix build with mismatching glShaderSource signature#14339
- Clean up location permissions annotation #14311
- Clear camera callbacks' message queue when the map is destroyed #14292
- Use a valid gestures focal point when resetting a manager #14284
- Disable move gesture detector foreseeing the quickzoom #14268
- Remove request render from MapboxMap#onStart #14245
- Use TurfMeasurement#distance in LatLng#distanceTo #14220
- Add pixel dimension annotation to public UiSettings methods #14281
- Add #toString override for formatted sections #14247
- Harden fetching camera for bounds when padding is excessive #14221
- Traverse expression tree when checking for property overrides #14259
- Variable label placement #14184
- Disable binary programs until we fix [#14294]((mapbox/mapbox-gl-native#14298)
- Disable leak canary during instrumentation tests #14296
- Remove Android v7 support library #14265
- Expose "text-color" option for formatted sections #14128
- Expose LocationComponent's layer IDs #14155
- Cache location layer IDs in a set instead of a list #14141
- Clear the style object when the map is destroyed #14171
- Cache source/layer only when successfully added #14171
- Bump telemetry version to 4.3.0 #14140
- Option to change path of the resources cache db #13947
- Throw an exception if the component is accessed before the activation #14068
- Add Galician localization #14095
- Set a blank style when an empty builder is provided #14085
- Fix quick-zoom + double-tap gestures combo regression #14084
- Explicitly declare MapboxIssueRegistry's lint version #14086
- Publish SNAPSHOTs to oss.jfrog.org #14067
- Make ReLinker default library loader #13974
- Add plural style builder methods #14012
- Adding areAllGesturesEnabled() boolean retreival method to UiSettings class #14022
- Adding builder pattern for LocationComponent activation #13941
- Get vector drawables using AppCompatResources and set them programmatically #14058
- LatLngBounds: Fix constrain when crossing antimeridian #13958
- Verify no native method is called when saving state #13980
- Clear fragment's onMapReady callbacks as part of OnDestroy, not OnDestroyView #14035
- Fix dialog fragment setup, add regression test #14036
- Remove unused dem memory #13550
- Adding Bintray Gradle plugin for artifact publishing #13999
- fix surface creation after app backgrounding for surfaceview#13976
- Keep location component's layers hidden when new style with the "layer-below" option is applied#13936
- Set localIdeographFontFamily default to sans-serif#13925
- Invalidate the camera position when gesture finishes#13920
- Hook into surface holder to cleanup renderer on the right thread before the surface is destroyed #13926
- Fix deadlock in http request on hitting tile limit#13858
- Update downstream circle-ci job name #13872
- Prioritize running benchmarks when building master #13801
- Revert modules vendorization and keep submodules only #13806
- Run vendor submodule check #13816
- Fetch tags during nitpick, bump gestures library to v0.4.0 #13847
- Test app fixes 7.1.0 QA #13773
- Remove deprecated javacompile, resolve AS 3.3.0 warning on deprecation #13777
- Update project readme with buck source file ignore configuration #13788
- Fix LocationEngine's annotation #13792
- Fix core-only layer creation #13798
- Remove faulty cast to uint64_t, explict casting for cluster API #13888
- Separate quick zoom gesture option #13791
- Location animators memory and CPU optimizations #13678
- Added performance event #13795
- Adding new variation of LocationComponent#activateLocationComponent #13829
- Expose symbol placement transition duration option #13868
- Add experimental pointer #13889
- Fix layer not rendering correctly when property value's negative #13888
- Fix a crash caused by the missing
Timber
dependency #13847
- Revert Android vendorization, add submodule pinning #13815
- Ignore unused C++ arguments for all build environments #13774
- Import gesture detector dimens using the correct package structure #13750
- Restore location layer visibility with new "layer-below" #13771
- Rename required TransitionOptions field #13769
- Ignore unused C++ arguments for all build environments #13774
- Update to NDK 19, migrate STL experimental/optional #13049
- Add library loading to peer objects #13758
- Remove tile sorting from the clip and mask algorithms #13756
- Ability to disable any layer using pre-processing flags #13717
- Make library loader load the native library once #13748
- Allow offline and snapshotter to be disabled #13730
- Sorted render tiles for TilePyramid #13739
- Adjust maven pom file with vendorized libraries versions #13765
- Update attribution feedback URL in code and tests #13710
- Re-apply location components "layer-below" when changed #13749
- Avoid leaking CompassView context through animator #13743
- Allow resetting fps listener #13733
- Do not invoke #onCancel when animation is scheduled from #onFinish block #13737
- Updated licenses after Android vendorization #13738
- Use QueryFeatureExtension to query the map for supercluster v0.3.0 properties, add api for getLeaves, getChildren and getNextExpansionZoom #13631
- Restore correct Snapshot attribution, make attribution parser backwards compatible #13732
- Vendorize Android Mapbox dependencies #13712
- Introduce NativeMap abstraction, remove static code block removal utility #13681
- Notify requests about network reachability in priority order #13721
- SymbolBucket, use single map for paint properties data #13724
- Avoid NullPointerException when quickly closing activity for attribution click handling #13723
- Return constexpr strings from functions to avoid ODR compile failures #13720
- Split layer type specific code in mbgl::Programs #13577
- Shader program must always match bucket in render symbol layer #13667
- Implement Google benchmark runner for Android platform #13628
- Avoid leaking attribution dialog when hosting context is stopped #13673
- Android test runner for core unit tests #13617
- Throw IllegalStateException when when setting an maximum fps while the mapRenderer isn't created yet #13706
- Lift Parceable interface to OfflineRegionDefinition #13688
- Espresso test rework #13576
- Experimental setMaximumFps configuration on MapView #13498
- Add a Buck build and BUCK file for Android #13584
- Instrumented unit tests, add map tests, refactor generated layer tests #13443
- Add setMaximumFps configuration on MapView #13498
- Fix deduping rings in quering #11984
- Updated script detection for Unicode 11 #13651
- Drop layer type and remaining usages #13624
- Save debug cache state vs map state #13638
- Add "localIdeographs" option to OfflineRegionDefinition #13607
- Remove timber in favor of logger #13625
- Update core styles based on the streets-v8 source. This results in breaking changes for any code that references internal layers and sources of the style #13615
- Cancel camera transitions only when set CameraMode is not None #13662
- Fix location interval workaround initialization #13670
- Mapbox services sdk version bump to 4.3.0 #13610
- Added Style object parameter mention to LocationComponent methods #13597
- Clean up remaining deprecated methods for 7.0.0 #13613
- Dismiss the foreground color only when the style is loaded #13582
- Location update fastest interval workaround#13592
- CameraMode transition animation and result listeners#13523
- Validate if weakreference is still valid #13555
- Update core styles based on the streets-v8 source. This results in breaking changes for any code that references internal layers and sources of the style #13615
- Fixed compass update time not getting updated #13569
- Register compass sensor listener only if necessary #13573
- Immediate location animation based on map's projection #13545
- Option to disable smooth animation of compass and accuracy values #13574
- Add onDidBecomeIdle to Map events #13513
- Expose setAccessToken on Mapbox.java #13397
- Expose endpoint change option for snapshotter #13508
- Use locale sensitive DecimalFormat for color alpha conversion #13393
- Enabled RecyclerView integration #13132
- Style builder and Style.java #13484
- LatLng bounds cannot be wrapped #13419
- Expose endpoint change option for snapshotter #13508
- Formatted "text-field" property setter #13358
- Expose setAccesToken on Mapbox.java #13397
- Immediately notify core about forced connectivity state #13485
- Handle transition duration of 0ms for symbols #13535
- Returning boolean when removing sources and layers #13428
- Telemetry v4.1.1 bump #13499
- mapbox-java 4.2.0 bump #13507
- Add
fill-extrusion-vertical-gradient
fill paint property #13463 - Don't cancel core transitions on MotionEvent#ACTION_CANCEL #13465
- Require context in AttributionParser.Options #13444
- Deprecated annotations package #13468
- Send turnstile event while create MapSnapshotter instance #13475
- Remove default zoom level restrictions when activating the location component #13425
- Telemetry v3.5.6 #13486
- Add "localIdeographFontFamily" setting to MapSnapshotter to reduce font data usage while snapshotting CJK maps #13427
- Send turnstile event while creating MapSnapshotter instance #13475
- Add overlay example with custom drawing using paint and canvas #13431
- Use --info argument to show details during test run #13415
- Add specific name logging in failure scenarios of PropertyValue #13409
- Fixed constant layer filter #13406
- Update map feedback URL #13396
- Use locale sensitive DecimalFormat for color alpha conversion #13393
- Fixed
{prefix}
in tile resource URLs #13429
- Telemetry v3.5.4 #13330
- Added Nullable and NonNull annotations #13274
- Catch and re-throw throwables thrown inside map state callbacks #13351
- Removed deprecated code and notices #13244
- Update to mapbox java services 4.1.0 #13357
- Removed deprecated color conversion from PropertyFactory #13337
- Removed deprecated OnMapChange interface and implementation #13240
- Cleanup isDismissible flag #13197
- Removed java 8 language features #13193
- Removed ZoomButtonsController support #13198
- Changed CustomGeometrySource() signature to be Kotlin friendly #13178
- Removed ILatLng and IProjectedMeteres #13176
- Option to consume map clicks, consuming location clicks #13205
- Consolidated OfflineRegionDefinitions #13180
- Added scrollBy() to MapboxMap, depricated CameraUpdate.scrollBy() #13223
- Improved CustomGeometrySource constructor typing #13200
- Removed deprecated MarkerView#13194
- Annotate onMapReady with @NonNull #13307
- Telemetry v3.5.4 #13330
- This release should be skipped in favor of the
v6.6.7
.
- Handle null getMapAsync invocations, deliver onMapReady only once #13301
- Verify if
text-field
is not null before performing compatibility operations #13294 - Log Java exception and fail silently instead of throwing a native exception in the map state callbacks#13294
- Reintroduce OnMapChange invocation #13289
- Null-check nativeMapView in case it's destroyed #13281
- Telemetry v3.5.2 #13258
- Fix crash with non AppCompatActivities #13222
- Telemetry bump 3.5.1 #13204
- Gestures library 0.3.0 #13234
- Remove map initialised check #13224
- Upgrade GeoJSONVT to v6.6.2 #13231
- Deliver OnMapReady at end of initialisation block #13220
- Rework MapCallback to execute in correct order #13203
- Deprecate map zoom button controller #13197
- RenderState API #13170
- Avoid wrapping longitude values at dateline #13006
- Format expression support #12985
- Remove view tree observer #13133
- Revert infer nullity #13147
- Add priorities to requests #13019
- Avoid using and #13135
- Introduce mgbl::RenderState #13123
- Ensure queryRenderedFeatures accounts for icon-rotate #13105
- Add 'putResourceForURL' for pre-warming ambient cache #13119
- Remove requirement on vectorDrawables.useSupportLibrary #13168
- File source deactivate called before callbacks #13146
- Core format expression integration #12624
- Remove obsolete catch block in getLayerAs #13091
- Include Mapbox SDK Services proguard configuration #13103
- Avoid printing exception for valid code path when loading FileSource #13102
- Add equals, hashcode and toString to camera update types #13089
- Infer nullity, optimise codebase for consumption by kotlin #13071
- Replace OnMapchange with specific callbacks #13050
- Offline region creation telemetry event #12544
- Use appcompat resource configuration for vector drawables #13114
- Reverse order of prioritising shape vs marker click handling #13059
- Fixed an issue where fill and line layers would occasionally flicker on zoom #12982
- Add configuration to change the animation duration multiplier when tracking location #13011
- Move camera and puck immediately when starting to track and displacement is big #13013
- Expose offline database merge API #12860
- Remove unnecessary camera callbacks loops #12973
- Fix an issue where
OnCameraMoveListener#onCameraMove
would not get invoked while usingLocationComponent
#12932 - Try not to re-draw tiles when coming back from background #12844
- Proguard config revision #12929
- Improve compatibility of offline packs between devices #12933
- Update telemetry dependency to 3.2.1 #12974
- Fix an issue where some tiles weren't rendered correctly when no internet connectivity was available #12931
- Merge LocationLayerPlugin to the Maps SDK #12786
- Add
symbol-z-order
symbol layout property to style spec #12783 - Add "crossSourceCollisions" map option #12842
- "is-supported-script" expression support #12845
- Update isEmulator check #12832
- Prevent crash when expression evaluates to default, no pattern #12896
- Fixed bugs in coercion expression operators ("to-array" applied to empty arrays, "to-color" applied to colors, and "to-number" applied to null) #12864
- Update proguard config to not warn about AutoValue #12920
- Remove nunicode from android binding #12497
- Correct LatLngBounds exception message #12816
- Fixed a cubic-bezier interpolation bug. #12812
- Fixed an issue that could cause "allow-overlap" symbols to fade in during pan operations instead of always showing. #12683
- Retain shared thread pool reference #12811
- MapStrictMode configuration #12817
- Provide correct expression integration for newly created properties #12809
- Get source id for supported layer types #12801
- Check if map is destroyed before saving state in a fragment #12804
- Bump leak canary to 1.6.1 #12767
- Add quotes to string representation of string literal #12768
- Make improve this map translatable #12785
- Add Keep annotation to abstract components #12796
- Gradle tools 3.1.4 #12795
- Explicitly remove local references #12774
- Add more languages to tx config file #12719
- Add support for feature expressions in
line-pattern
,fill-pattern
, andfill-extrusion-pattern
properties. #12284
- Keep arbitrary region fields and constructor of OfflineGeometryRegionDefinition while obfuscating #12734
- Modularise the SDK #12468
- Invalidate InfoWindow's y offset when content is set #12715
- Synchronize and coalesce requests targeting the same TileID in the CustomGeometrySource #12509
- Line gradient support #12575
- Don't default-show text/icons that depend on the placement of a paired icon/text #12483
- Fix symbol querying for markers near tile boundaries at high zoom. (#12472)
- Hide peer constructors #12639
- Shutting down thread pool of the CustomGeometrySource when the source is destroyed #12517
- Harden offline database #12224
- Obtain paths to file directories on a worker thread #12657
- Arbitrary offline region shapes #11447
- Make AndroidRendererFrontend to request render once per event loop #12586
- Converting GeoJsonSource features asynchronously #12580
- StyleJson configuration on MapboxMapOptions #12664
- Update MapInitializer for OfflineRegionDefinition #12686
- Offline symbol render example using AssetFileSource #12676
- Added Chinese translations #12696
- Collator and resolved-locale expressions #12688
- Update telemetry user-agent #12706
- Replace hardcoded telemetry settings string with resources #12707
- Update GeoJsonOptions javadoc #12709
- Use unconverted bearing value for LatLngBounds calculation #12616
- Store release so files with debugging information #12628
- Close a security vulnerability introduced in v6.2.0 that would potentially allow the owner of a style to compromise apps loading that style.
- Don't prefetch tiles for geojson sources #12529
- Enable LTO in release builds #12546
- Update Java Services to v3.4.0 #12564
- Telemetry bump to 3.1.5 #12589
- Compress shader source code #12477
- Add minimal touch target to marker click detection #12482
- Improve resulting APK size by using @Keep annotation #12490
- Reuse Bitmap, Paint & Canvas instances in LocalGlyphRasterizer #12488
- Remove black surface during map start up #12377
- Corrected VisibleRegion on rotated map #12255
- Tweak conversions to reduce binary size #12511
- Validate if gesture detector is able to handle gesture #12375
- Add a convenience method to check whether the map is in a destroyed state, MapView#isDestroyed #12373
- Add GeoJSON regression tests for java method look up from JNI #12354
- Bump kotlin, timber and okhttp dependencies #12393
- Harden map events creation #12405
- Fix possibly race on undefined behavior #12408
- Option to request the visible region restricted by the content padding #12407
- Expose getMap #12444
- Correct access token validation #12458
- Port
symbol-placement: line-center
to native #12337 - Token string syntax (
"{token}"
) inSymbolLayer
textField
andiconImage
property values is now correctly converted to the appropriate expression equivalent. (#11659) - Fixed a crash when switching between two styles having layers with the same identifier but different layer types. (#12432)
- Harden map events creation #12406
- Fix JNI lookup of FeatureCollection, add regression test #12344
- Added draggable marker example activity, add kotlin support to test app @12326
- Telemetry bump to v3.1.4 #12349
- Remove unnecessary memory use when collision debug mode is not enabled (#12294)
- Add LatLngForScreenCoordinate to MapSnapshotter API, This allows to convert a LatLng value to the x,y position on the MapSnasphot image #12221
- Expose multiple getCameraFor equivalent methods to convert a geometry or a bounds to a camera position with taking in account padding, tilt and bearing #12290
- Avoid race condition when calling getMapAsync from a non-UI thread when running instrumentation tests #12308
- Backport range alpha values from 0 to 1 with int color conversion #12235
- Range alpha values from 0 to 1 with int color conversion #12210
- Remove reflection lookup for MarkerViewAdapter intialisation #12218
- GeoJSON clustering expressions logic change #12211
- Add SDF support, allow template images to be tinted #12181
- Add android licenses tool, update licenses #12153
- Always commit symbol placement #12076
- Ceil map dimensions #12116
- Fix match stop conversion #12128
- Telemetry bump to v3.1.3 #12156
- Ensure that camera is invalidated before generating telemetry event #12042
- Offline download batches #11284
- Parse Fragment's xml attributes #12078
- Bump mapbox-java to 3.2.0 #12036
- Optional camera position for map snapshotter #12028
- Expose enableOnUserRequest and disableOnUserRequest on Telemetry #12024
- Add style json setter/getter to map snapshotter #12031
- Fix literal wrapping in comparison expressions #12022
- Null check access token in filesource initializer #12023
- Allow literal expression property arguments #12018
- Raw expression support #12007
- UI Thread checking #12000
- Don't force having an Mapbox access token #12001
- Unknown tokens in URLs are now preserved, rather than replaced with an empty string #11787
- Update onMapChange Listener javadoc #11972
- Set Tile loaded/rendered instead of marking tile as optional #11985
- Wrap glGetString in
MBGL_CHECK_ERROR
too #11106 - Accept constant expression in non-dds properties #11960
- Style JSON configuration in Snapshotter #11976
- Remove mips and armeabi as supported ABI, update to NDK 17 #11458
- Re-assign ids when lng jumps to avoid flicker #11938
- Change modifier MapView#initialize to allow subclassing #11969
- Avoid symbol flickering when longitude is wrapped #11938
- Fix hang when parsing very large angles for hue in hsl colors #11968
- Clamp TileJSON.bounds latitudes to [-90, 90] #11964
- Align URL token replacement with GL-JS #11953
- Align match behaviour #11935
- Circle querying fixes #11571
- Global symbol query #11742
- Change MapView#initialize modifier to allow overriding #11969
- Update telemetry to 3.1.2 #11987
- Update telemetry to 3.1.1 #11942
"to-string"
expression operator convertsnull
to empty string rather than to"null"
#11904- Expose MapView#setOfflineRegion #1922
- Add nullability annotations to public API for kotlin language integration #11925
- Expose MapView created callbacks on MapFragment and SupportMapFragment #11934
- Update mapbox-java to 3.1.0 #11916
- Update telemetry to 3.1.0 #11855
- Unwrap LatLngBounds during JNI conversion #11807
- Check if renderer is not destroyed before delivering snapshot #11800
- Null-check source before removing #11789
- Flutter support: promote pixel-ratio to public API NativeMapView #11772
- Unwrap LatLngBounds for the shortest path when requesting camera #11759
- Flutter support: integrate view callback abstraction #11706
- Match expression doc tweaks #11691
- Improve stop javadoc to include interpolate #11677
- Reduce per-frame render CPU time #11811
- Add Korean localization #11792
- Add Danish localization; update Hungarian, Russian, Swedish translations #11136
- Check if renderer is not destroyed before delivering snapshot #11800
- Bump telemetry version to 3.0.2 #11710
- Add abs, round, floor, ceil expression operators #11653
- LatLngBounds correct center calculation #11650
- Bump telemetry to 3.0.0 final #11658
- Correctly calculate LatLngBounds #11647
- Add convenience step expression #11641
- Add javadoc examples for Android #11540
- Add paused state to map renderer, don't render snapshots after onPause #11358
- Rework internal expression conversion #11490
- Fixed gesture event listeners javadoc #11630
- Add delete local reference on jni strings #11608
- Release local references early #11599
- Re-bind uniform locations after re-linking program #11618
- Bump mapbox-sdk-services to 3.0.1 #11593
- Correct animation scale point #11643
- Re-bind uniform locations after re-linking program #11583
- Invalidate camera position before delivering onMapReady #11585
- Null java peer callback #11358
- Add missing delete local reference #11608
- Release local refs #11599
- Fix race condition crash for heavily modified annotations #11551
- Throw exception when converting PropertyValue with an expression #11572
- Invalidate camera position before delivering onMapReady #11585
- Rework logical condition convenience expressions #11555
- Telemetry library version update to 3.0.0-beta.4 #11590
- Avoid flashing on pitched overzoomed tiles #11488
- Literal array conversion of primitive arrays #11500
- Make default output from step more descriptive #11501
- Expose public Telemetry API #11503
- Convert Android int colors with to-color expression #11506
- Prevent default style reload when string style json was set #11520
- String, number and bool Expressions with multiple values #11512
- Telemetry library 3.0.0-beta.3 #11534
- Gestures library v0.2.0 #11535
- Verify optional access of FileSource deactivation #11480
- Prevent default style loading when style json was set #11519
- Delete local reference when convering Image.java #11350
- Use float for pixel ratio when creating a snapshotter #11367
- Validate if width and height aren't 0 when creating a snapshot #11364
- Null check body of http request #11413
- Clamp TileJSON bounds #11425
- Gesture library 0.1.0 stable #11483
- Filters with expressions #11429
- Telemetry 3.0.0-beta.2 #11474
- High level JNI conversion for geojson #11471
- Update to MAS 3.0.0-beta.4 #11468
- Support for expression literal on arrays #11457
- Fix telemetry integration for two finger tap gesture #11460
- Revisit proguard configuration #11434
- Expressions accessor support #11352
- Calculate camera's LatLng for bounds without map padding #11410
- Check for null on http body request #11413
- Expose more gesture settings #11407
- Revert java 8 language support #11398
- Update to MAS 3.0.0-beta.3 #11373
- Rework match expression to style specification syntax #11388
- Update javadoc configuration for Gradle 4.4 #11384
- Rework zoomIn and zoomOut to use ValueAnimators #11382
- Delete LocalRef when converting Image.java #11350
- Use float for pixelratio when creating a snapshotter #11367
- Validate width/height when creating a snapshot #11364
- Added missing local reference deletes #11243, #11272
- Remove obsolete camera api #11201
- Fix UTF-8 encoding, add missing package-info.java files #11261
- Rework expression api #11210
- LatLngBounds fixes #11333, #11307, #11308, #11309, #11226
- New gestures library #11221
- Expose ImageSource coordinates setter #11262
- Add heatmap color property #11220
- Add support for mapzen terrarium raster-dem encoding #11339
- TileJSON Bounds allows values inclusive of world extents #11178
- LatLngBounds returned by VisibleRegion when map is rotated #11226
- Custom Layer fixes & black list VAO on mali t720 #11239
- Check if Activity isn't finishing before showing dialog #11244
- Decouple MapPadding from overlain views #11258
- Don't disable zoom button controller zooming with gesture disabled zoom #11259
- Expose ImageSource coordinates setter #11262
- Add missing DeleteLocalRefs #11272
- Continue loading style even if we mutate it #11294
- Update telemetry version for OkHttp #11338
- Deprecate LocationEngine #11185
- Remove LOST from SDK 11186
- Transparent surface configuration on TextureView #11065
- Constrained setLatLng documentation, expose setLatLngZoom method #11184
- Integration of new events library #10999
- AddImage performance improvement #11111
- Migrate MAS to 3.0.0, refactor GeoJson integration #11149
- Remove @jar and @aar dependency suffixes #11161
- Don't recreate TextureView surface as part of view resizing, solves OOM crashes #11148
- Don't invoke OnLowMemory before map is ready, solves startup crash on low memory devices #11109
- Programmatically create GLSurfaceView, solves fragment bug #11124
- Proguard config for optional location provider, solves obfuscation warnings #11127
- MapView weak reference in global layout listener, solves memory leak #11128
- Blacklist Adreno 2xx GPU for VAO support #11047
- Bearing tracking mode GPS_NORTH_FACING #11095
- Disable logging for missing location permissions when location is disabled #11084
- Create offline handler using the main thread looper #11021
- Binding integration for expressions #10654
- CustomGeometrySource #9983
- HillshadeLayer and RasterDemSource #11031
- Revisit marker placement for snapshot #11029
- SafeVarargs annotation for expressions #11027
- Expression#toString #11024
- Rename initRenderSurface to onSurfaceCreated #11023
- Expose attribution manager as public API #10942
- Replace Mapzen vector source example with Mapillary #10931
- Add Hebrew localization #10967
- Cleanup gradle configuration files #10903
- Send double tap event only once #10855
- Parameter validation for LatLngBounds#from #10831
- Replace JSON parsing #10815
- Orientation change regression test #10814
- Max & min LatLng constants #10780
- LatLng#wrap return new instance of LatLng #10769
- Custom library loader #10733
- Inconsistent parameters for LatLngBounds.union #10728
- Gradle 4.1 / AS 3.0 #10549
- Validate surface creation before destroying #10890
- Add filesource activation ot OfflineRegion #10904
- Save configuration of UiSettings #10908
- Do not overwrite user-set focal point #10910
- Camera callbacks for velocity animated movements #10925
- Allow changing the used OkHttpClient #10948
- Validate zoom level before creating telemetry event #10959
- Handle null call instances in HttpRequest #10987
- Blacklist binary program loading for Vivante GC4000 GPUs #10862
- Support Genymotion #10841
- Getting bitmap from drawable fix #10763
- Use US locale when converting between int color and RGBA string #10810
- Harden map destruction #10811
- RTL support #10828
- Allow configuring Http url logging when a request fails #10830
- Don't send double tap event multiple times for telemetry #10854
- Fix code generation #10856
- Use the correct cancelable callback after posting cancel #10871
- Add support for TinySDF #10706
- Save restore MyLocationViewSettings #10746
- Post animation callback invocation #10664
- Allow configuring Http logging #10681
- Fix reverse scale gesture #10688
- Update offline region metadata documentation #10693
- Post camera listener invocation #10690
- Activate filesource for offline region creation #10718
- Update Spanish/Vietnamese translations #10740
- Update instrumented make target #10724
- Remove black flash on start for fragments #10717
- CompassView decode crash #10717
- Android SDK renaming #10609
- Map touch listener based lists #10749
- Close race condition in RunLoop #10537
- OkHttp 3.9.1 #10515
- Attribution anchor point fix #10558
- Pre API 19 VerifyError #10579
- Set larger Http request limit #10567
- Remove jar generation from maven publish #10625
- Enable Map Rendering when paused for multiple window support #10509
- Activate FileSource when listing offline regions #10531
- Harden MarkerView integration by checking for null bitmap #10532
- Use concurrent lists for camera change listeners #10542
- Handle destroy activity as part of theme switching #10589
- add FileSource activation/deactivation to MapSnapshotter #10556
- Monkey crashes #10472
- MapSnapshot attribution #10362
- Downgrade min sdk to 14 #10355
- Harden deselection mechanism for markers #10403
- Cherry picks to agua #10442
- Rework test activity gen script setup #10365
- Fix broken android unit tests, update test make target to SDK #10387
- Check for null value when calling mapboxMap.clear #10388
- Revert adding mapbox-android-core dependency (#10354) #10380
- Asynchronous TextureView #10370
- Workaround OkHttp bug on Android O 10366
- Revisit logo resize 10553
- Logo resize for MapSnapshotter #10312
- Make location provider optional #10354
- Check for positive animation value #10348
- Fix IAE of ease/animate #10338
- Run full test suite on CI #10333
- Make sure camera position gets updated in onFinish() callback after camera.move #10324
- throw IAE in animate() and easeCamera() when duration <= 0 #10321
- Don't save state if map hasn't been initialised #10320
- Make map snapshot optional #10310
- Synchronise locationlastions with Transifex #10309
- MapboxMap#addImages #10281
- Move shape annotation click handling to core #10267
- Map snapshotter additions #10163
- Add velocity to gestures / port animations to SDK animators #10202
- Don't save state if map hasn't been initialised #10320
- android.hardware.location.gps feature should not be required #10347
- Wire up MapZoomButtonController with camera change events #10221
- Execute callbacks only when not idle #10220
- Cleanup unused gradle plugins #10211
- add FileSource pause/resume #9977
- add make target for ndk-stack #10185
- Add interpolator examples #10067
- Add an UnsatisfiedLinkError safeguard #10180
- Hold off handling hover events untill map has been created #10142
- Added
MapboxMap.getCameraForGeometry()
to get a camera with zoom level and center coordinate computed to fit a shape #10107 - Fine tune gesture zoom & rotation #10134
- Allow multiple listeners for camera events, deprecate old API #10141
- Update symbol layer example with location #10092
- Make OfflineTilePyramidRegionDefinition parceable #10080
- Fix 5.2.0-SNAPSHOT CI build failing #10079
- Deprecate MarkerView #9782
- Hide overlain views on initalisation #10068
- API for platform side animations #10001
- Android asynchronous rendering #9576
- Set error handler when starting snapshotter #10035
- Hook camera events into compass #10019
- Testapp cleanup #10006
- Update zoom function example with selected state #9987
- Add style inspection to debug activity #9773
- Bump external dependencies #9972
- Don't recycle bitmap for icon reuse. #9966
- Android snapshotter #9748
- Revert #9764 #9851
- Update docs replacing Bitrise mentions with CircleCI #9515
- Style image accessor #9763
- Update readme with checkstyle and ndk-stack #9788
- make android-check #9787
- Deprecate MyLocationView in favor of LocationLayer plugin #9771
- Increase firebase timeout for CI testing #9774
- Restore max zoom to 25.5 #9765
- Update example of camera zoom function on a symbol layer. #9743
- Optimise icon management #9643
- Expose setStyleJson and getStyleJson #9714
- update LatLngBounds activity with BottomSheet interaction #9736
- post updating InfoWindow update for InfoWindowAdapter #9716
- Annotate MapboxMap class with UiThread #9712
- Move ZoomButtonController creation to view initalisation #9587
- Solve lint issues, reduce baseline #9627
- Remove wear module from project #9618
- Add zMediaOverlay configuration + bottom sheet integration #9592
- Forward getMapAsync to map for fragment #9621
- Make target for dumping system gfx information #9616
- Make target documentation #9617
- onGlobalLayout hook for map creation #9607
- Custom viewpager for horizontal swiping #9601
- Disable program caching on Adreno 3xx, 4xx, and 5xx GPUs due to known bugs #9574
- Avoid creating InfoWindow iterator if no InfoWindows are shown #9477
- Rewire map initialisation #9462
- Trying to update non-existent polyline fix #9544
- Location accuracy threshold #9472
- Rewire gesture handling and telemetry event push #9494
- run style instrumentation tests on CI #9353
- Fix javadoc comment for public setOfflineMapboxTileCountLimit method #9454
- add Map change & visibility test activities #9425
- build release package once during ci build #9351
- Add support for ImageSource #9110
- Increased the default maximum zoom level from 20 to 22. #9835
- Remove obsolete terminate context/display calls #10162
- Determine need for clip ID based on actual layers/tiles #10216
- Correctly alter sprite URLs #10217
- Russian and Ukrainian localizations #9945
- Update translations #10033 & #9945
- Continue rendering tiles despite erros #10012
- Fix layer z-fighting #9942
- Align line vertex to 4-byte boundary #9943
- Bump proguard config for OkHttp #9970
- Remove database on schema downgrade #9837
- Disable rotation gesture when pinch zooming #10026
- Do not check if connection is local request #9968
- Harden offline region deletion #9967
- Clear out mapCallback's OnMapReadyListeners on destroy #9957
- Avoid adding duplicate points to bounds #9955
- Download is complete fix #9913
- MAS 2.2.3 #9901
- Russian and Ukrainian localizations #9945
- Use separate attribute component for line normals #9753
- Track state of initial overlain views margins #9391
- Compability for Samsung devices forcing 3-4 array vector length #9746
- Smallest LatLngBounds when visible region crosses dateline #9747
- Readd ProjectMeters #9766
- Enable location change animation of MyLocationView by default #9779
- Avoid IndexOutOfBoundsException when destroying map object #9789
- MAS 2.2.1 #9796
- Disable program caching on Ardreno GPU 3xx, 4xx and 5xx #9625
- GeoJSON proguard issue #9577
- Harden click events of shape annotations #9585
- Validate Marker before opening InfoWindow #9586
- Fix added to map check #9602
- Don't query shape annotations if none were added #9606
- Fix compass direction #9632
- Remove preview image integration #9657
- Try/catch initialization of telemetry #9658
- Fix typo OnCameraMoveStartedListener #9664
- Bump MAS dependency to 5.2.0 #9671
- Rework attribution binding #9433
- BackendScope changes #9538
- Invisible MarkerView performance fix #9420
- Polyline/Polygon click listeners #9443
- Hit test Marker/MarkerViews #9424
- Fine tune fling gesture #9532
- Bump OkHttp 3.8.0, Android 7.x crashes #9522
- MyLocationView tint fix #9410
- VisibleRegion logic #9428
- Validate motion event #9434
- Add French localization #9545
- Fix public.xml #9525
- Manage InfoWindow selection in AnnotationManager #9567
- Increase touch target size #9565
- Work around Adreno 2xx GPU bugs #9573
- Update to MAS 2.1.3 #9402
- Downgrade LOST to v1.1.1 #9394
- OnCameraIdle hook into quickzoom gesture #9339
- LatLngBounds conversion regression, add test #9324
- Update MAS dependency to 2.1.2 #9311
- Update LOST dependency to 3.0.1 #9302
- Fix Pulse example Parcelable creator #9283
- Custom marker view anchoring #9282
- Update Activity test generation #9276
- Validate camera position before transforming #9275
- Revisit javadoc #9266
- Build with NDK 15 #9263
- Snapshot with view content #9263
- Update source changed javadoc #9243
- Run tests on UI-thread #9198
- Fix trackball on worker thread #9305
- Option to disable location change animation #9210
- Invalidating MyLocationView bearing when not following #9212
- Remove upgrade runtime exceptions #9191
- Check source usage before removal #9129
- Fix tracking mode + camera race condition #9133
- Harden orientation changes #9128
- Infinite location animation updates #9194
- Invoke callback with valid fling gestures #9192
- Keep location tracking after screen rotation #9187
- Update components with camera values when animating #9174
- Validate if gestures should execute #9173
- Custom location source and LOST integration #9142
- Add binding support for Light #9013
- Update attribution with new Mapbox wordmark #8774
- LatLngBounds bearing default value #9102
- Stop location updates when toggling MyLocationView #9099
- Horizontally rotated in snapshot #9083
- Disable letter spacing for Arabic text #9071
- Correct bearing conversion when animating the map #9050
- Don't leak selected markers when removing #9047
- Bump tools and support lib version #9046
- MarkerView deselect events with OnMarkerViewClickListener #9047
- LOST update to v3.0.0 #9112
- Convert dp to pixels for meters per pixel at latitude #9048
5.1.0-beta.2 builds further on 5.1.0-beta.1 and adds:
- When a layer is added, reload its source's tiles #8963
- Update release script to support CircleCI builds #8950
- URL getter on Sources #8959
- Build SNAPSHOT from release branch CI configuration #8958
- Fix UI test filter in Makefile #8960
- Bump & fixup dependencies #8921
- Ignore already deleted region #8920
- Keep offline observer when timeout occurs #8919
- Show error message when no browser installed #8920
- Reset observers of removed Sources and Layers #8900
- Only build custom layer .so for debug builds #8885
- Update localizations #8883
- Reset observers of removed Sources and Layers #8862
- Remove force style cascade #8866
- Update proguard config #8944
- Update LOST to 2.3.0-SNAPSHOT #8872
- Update logo #8774
- Camera change listener v2.0 #8644
- Allow filesource url transform reset #8957
5.1.0-beta.1 builds further on 5.0.2 and adds:
- Support for FillExtrusionLayer #8431
- Limit Viewport #8622
- Transition Properties for Layer attributes #8509
- Style wide transition duration and transition offset in milliseconds #8576
- Transifex integration, Catalan & Dutch translations #8556
- LatLngBounds includes with another bounds #8517
- LatLngBounds includes takes in account LatLng on the edges (cfr. core) #8517
- LatLngBounds facility getters/setters for LatLnbg on the edges of the bounds #8517
- Expose world bounds in LatLngBounds #8517
- OfflineRegion are validated if the bounds is found in the world bounds, else onError will be invoked #8517
- Polygon holes #8557 and #8722
- Custom location source #8710
- Expose source layer identifier #8709
- Ensure surface is created after display and context #8759
- Harden telemetry event dispatch #8767
- Move LatLngBounds calculation for CameraUpdateFactory to core #8765
- Spanish, Lithuanian, and Vietnamese localizations #8852
- Warning when updating a non-added annotation #8832
- Share location source between components #8825
- Test application runtime permissions for pre lollipop devices #8823
- Do not call OnMarkerClick listener twice #8804
- Rework instrumentation tests #8793
- Set first render flag to false when destroying the surface #8739
- Post resetting tracking settings to avoid race condition reset #8738
- Expose Source Layer identifier #8709
- Derived source attribution #8630
- Consistent use of duration unit #8578
- Swedish localization #8883
- Streets v10, Outdoors v10, Satellite Streets v10, Traffic Day v2, Traffic Night v2 #6301
5.0.2 is a patch release that contains the following changes:
- Binary shader caching #8604
- Fix resource transform callback #8582
- Restore onTouch behaviour to 4.x version #8585
- Restore anchoring after updating MarkerView Icon #8519
5.0.1 is a patch release that addresses a shader precision issue that created a rendering problem on some devices.
- Use
highp
for color attributes #8385
5.0.0 final release contains:
- Support for data-driven styles #7752
- Additional APIs to manage runtime styling layers #8195
- Allow query all features in sources (
querySourceFeatures
) #5792 - Improve accessibility TalkBack support by including content description in views #8230
- Consistent double tap zoom acceleration #7514
- Allow zooming/scaling to use
AnimationOptions
#8181 - Cleanup inconsistencies
float
vsdouble
#4445 - Add
mapbox_
prefix to attributes #6482 - Update LOST to 2.x #6573
- MAS submodules (
geojson
,telemetry
) are now smaller to reduce the overall method count #7642 - Telemetry Service is now include automatically via Manifest merge to simplify set up #8338
- Support for Android Nougat #5910
- Move location listening logic to
onStart
/onStop
activity lifecylce methods
- Move location listening logic to
- Removal of
accessToken
onMapView
andMapboxMap
#5621 - Introduction of new make targets #5940
- Targets for testing, running and using external tools directly from the command line
- Cleanup Gradle files #6009
- Introducing single purpose
.gradle
files
- Introducing single purpose
- Checkstyle integration #7442
- Transform refactor #6532
- All camera related code is moved to a dedicated transform class cfr. core architecture
- Encapsulate gestures #6557
- All gesture event code is encapsulated in
MapGestureDetector
- All key event code is encapsulated in
MapKeyListener
- All gesture event code is encapsulated in
- Transparent background for
MyLocationView
#7116 - Correctly scale accuracy circle for
MyLocationView
#8255 - Update documentation on generate sanity tests #7147
- Update documentation on style templates #7157
- Fix
NullPointerException
during save instance state #7157 - Move management style to core #7275
- Fix
OnCameraChange
not called for the final position of animation bug #7350 MapboxAccountManager
refactor #6534- Consolidating the location where tokens are set
- Rename to reflect the increased responsibilities introduced in prior releases
- AnnotationManager refactor #6067
- Extracting all business logic related to annotations into a separate class cfr. to core and the iOS codebase
- Gesture handling improvements:
- Support for style-wide transition animation duration and delay #6779
- Allow callback parameter for style setting #8262
- Support for all animated camera changes to configure dismissing tracking modes #7854
- Avoid disabling location tracking on all gestures #7878
LatLng
objects produced by the SDK are wrapped by default #4522- Proguard update for new SDK packages #8437
- Javadoc cleanup #8438
- MarkerViewClickListener and MapClickListener called simultaneously #8447
- Fix LOST v2.0.0 integration #8445
- Crash with OnMapChangeListener #8380
- Feature query crash #8374
- flyTo fix #8302
- Don't dispatch MarkerView motion event up to MapView #8447
5.0.0-beta.3 focuses on addressing stability issues and bug fixes. It also includes:
- Allow query all features in sources (
querySourceFeatures
) #5792 - Improve accessibility TalkBack support by including content description in views #8230
- Allow zooming/scaling to use
AnimationOptions
#8181 - Telemetry Service is now include automatically via Manifest merge to simplify set up #8338
- Correctly scale accuracy circle for
MyLocationView
#8255 - Round tap-zoom gestures to nearest integer #8027
- Allow callback parameter for style setting #8262
- Avoid disabling location tracking on all gestures #7878
5.0.0-beta.2 focuses on addressing stability issues and bug fixes. It also includes:
- Data-driven styling for
{text,icon}-{color,opacity,halo-color,halo-blur,halo-width}
#7939 - Additional APIs to manage runtime styling layers #8195
- Support for data-driven styles #7752
- Consistent double tap zoom acceleration #7514
- Cleanup inconsistencies
float
vsdouble
#4445 - Add
mapbox_
prefix to attributes #6482 - Update LOST to 2.0.0 #6573
- MAS submodules (geojson, telemetry) are now smaller to reduce the overall method count #7642
- Support for Android Nougat #5910
- Move location listening logic to onStart/onStop Activity lifecylce methods
- Removal of
accessToken
onMapView
andMapboxMap
#5621 - Introduction of new make targets #5940
- Targets for testing, running and using external tools directly from the command line
- Cleanup Gradle files #6009
- Introducing single purpose
.gradle
files
- Introducing single purpose
- Checkstyle integration #7442
- Transform refactor #6532
- All camera related code is moved to a dedicated transform class cfr. core architecture
- Encapsulate Gestures #6557
- All gesture event code is encapsulated in
MapGestureDetector
- All key event code is encapsulated in
MapKeyListener
- All gesture event code is encapsulated in
- Transparent background for
MyLocationView
#7116 - Update documentation on generate sanity tests #7147
- Update documentation on style templates #7157
NullPointerException
during save instance state #7157- Move management style to core #7275
OnCameraChange
not called for the final position of animation bug #7350MapboxAccountManager
refactor #6534- Consolidating the location where tokens are set
- Rename to reflect the increased responsibilities introduced in prior releases
- AnnotationManager refactor #6067
- Extracting all business logic related to annotations into a separate class cfr. to core and the iOS codebase
- Gesture handling bugs
- Avoid calls to onFling when while pinch zooming #7666
- Support for style-wide transition animation duration and delay #6779
- Support for all animated camera changes to configure dismissing tracking modes #7854
LatLng
objects produced by the SDK are wrapped by default for compatibility with the Google Maps API on Android #4522
Mapbox Android 4.2.2 builds further on v4.2.1 and resolves:
- OnFling gesture improvements
- Improve fling by calculating animation time based on velocity #7676
- Avoid triggering a fling after a scale gesture #7675
- Deselect marker on infowindow click #7784
- Update build tools to Bitrise supported one #7729
- Removal of redudant log statements in native_map_view.cpp #7801
- Invalidate markersviews when updating their position #7794
- Avoid clustering unclusterable GeoJSON #7633
- Prevent null pointer exceptions when receiving connecitivy change events #6858
Mapbox Android 4.2.1 is a bugfix release build on top of 4.2.0 and resolves:
- Gesture handling bugs
- Null pointer exception on TrackingSettings #7505
- Patches to our CI integration #7363 & #7385
- Screen density is now correctly applied for attributes #7327
- Usage of LocalBroadCastReceiver #7511
Mapbox Android 4.2.0 contains all 4.2.0-beta.5 changes and adds:
- Adds additional documentation to APIs
- Resolved issue with marker views occasionally not showing up until a gesture was performed on map #7239
- Added horizontal accuracy to location events #7237
- Resolved issue with changing visibility of a layer #7242
- Proguard improvement and fixes
Mapbox Android 4.2.0-beta.5 adds no new features, only bug fixes.
Mapbox Android 4.2.0-beta.4 contains all 4.2.0-beta.3 changes and adds:
- Query rendered features by source #6516
- Decreased logging for release builds #6787
- setConnected method to manually set a connected flag #6618
Mapbox Android 4.2.0-beta.3 contains all 4.2.0-beta.2 changes and adds:
- Configurable API endpoint #6309
- Adjusted logging level for failed OkHttp requests 6356
- Offline improvements:
- Fix SQLite crashes by reverting WAL journal mode #6320
Mapbox Android 4.2.0-beta.2 contains all 4.2.0-beta.1 changes and adds:
- Query rendered features #5869
- Clustering #5852
- Integrated support for Mapbox Android Services
- Offline improvements:
Mapbox Android 4.2.0 introduces the Runtime Style API and improves performance.
- Runtime Style API (#5610)
- Earcut (#2444)
- Map view rendered with
SurfaceView
for improved performance #5000
Mapbox Android 4.1.1 is a patch release and is recommended to upgrade to it as soon as possible.
- Default Styles Caching Crash (#5722)
Mapbox Android 4.1.0 builds off our ambitious 4.0.0 version with 3 major new features being released.
- New samples:
- Marker improvements:
- Make gesture focal point configurable
- Dynamically Update InfoWindow (#5237)
- armeabi ABI Work On armv7 Devices (#3985)
- Remove Adapter Requirement For MarkerView (#5214)
- Always Current Version Style URL Constants (#5193)
- Random NullPointerException On Telemetry (#5186)
Mapbox Android 4.1.0 builds off our ambitious 4.0.0 version with 3 major new features being released. To help us produce the highest quality SDK possible we're releasing an official Beta release first so that everyone has time to explore it and help hardened it before the official 4.1.0 Final Release.
Mapbox Android 4.0.1 is a patch release to make this bug fix available sooner.
- MapboxMap.removeAnnotations() doesn't remove markers (#4553)
Mapbox Android 4.0.0 contains the following 3 major new features.
- Default Value Bug Fix for MapboxMapOptions (#4398)
- NullPointerException When Scrolling (#4424)
- Platform Specific CHANGELOGS (#4432)
- Introduce LatLng.wrap() (#4475)
- arm64 ABI Support (#3128)
- Unify Offline And Cache Databases (#4362)
- Offline Database Vacuuming (#4342)
- Telemetry User Agent Fix (#4328)
- OnCameraChange Bug Fix (#4327)
- OnCameraChangeListener vs getCameraPosition (#4326)
Mapbox Android 4.0.0 is the most ambitious Android release to date with 3 major new features being released. To help us produce the highest quality SDK possible we're releasing an official Beta release first so that everyone has time to explore it and help hardened it before the official 4.0.0 Final Release.
- Fixed crash caused by annotation image with non-integer width or height (#3031)
- Tracking Mode Reverses Bearing Fix (#3664)
- GPS Extra Rotation Fix (#3661)
- Added new methods for getting and setting the min and max zoom levels:
getMinZoom
,setMinZoom
,getMaxZoom
,setMaxZoom
. (#509)
- Camera API Callback Improvements (#3412)
- Coordinate Deprecated For LatLng (#3309)
- Responsive User Dot Location Tracking (#2049)
- Added Camera API (#3244)
- Custom Layer Support (#3248)
- Reverse Tilt Gesutre Detection (#3245)
- Decoupled Location Provider (#2954)
- Added Tilt / Pitch Support (#2805)
- Keep InfoWindow Open When Panning (#3121)
- Concurrent Multiple Open InfoWindows (#3115)
- OkHttp Replace curl (#2856)
- GPS and Compass Customization Support (#2858)
- New User Dot location graphics (#2732)
- Custom Drawable Markers (#2744)
MapView.setOnInfoWindowClickListener()
support (#2448)- Completed Annotations API (#1716)
- Satellite Streets Style (#2739)
- RESOLVED Black Screen On Ice Cream Sandwich and Jelly Bean devices (#2802)
- Initial Android release.