0.17.0
Note: this list only contains a subset of all contributions, notably excluding those that e.g. only affect the GitHub Actions CI or documentation. See the link at the end for a full changelog.
Repository transfer: The project repository was transferred to the MapLibre GitHub organization. More information at #221
Breaking Changes:
maplibre_gl/mapbox_gl.dart
was renamed tomaplibre_gl/maplibre_gl.dart
. You can do a replace-all fromimport 'package:maplibre_gl/mapbox_gl.dart';
toimport 'package:maplibre_gl/maplibre_gl.dart';
useDelayedDisposal
was removed since its now fixed in #259useHybridCompositionOverride
was removed since it was added in the following fix: #203 and we reverted the fix and used another approach to fix the actual issue.- The default for
myLocationRenderMode
was changed fromCOMPASS
toNORMAL
in #244, since the previous default value ofCOMPASS
implicitly enables displaying the location on iOS, which could crash apps that didn't want to display the device location. If you want to continue to useMyLocationRenderMode.COMPASS
, please explicitly specify it in the constructor like this:
MaplibreMap(
myLocationRenderMode: MyLocationRenderMode.COMPASS,
...
)
- The old api
registerWith
was removed from the MapboxMapsPlugin.java, since there is no need for that. - The
minSdkVersion
was bumped to at least 21 now, since the native android sdk constraint expect that. - Changed the minimum Dart version from sdk:
2.12.0
to2.14.0
inmaplibre_gl_platform_interface/pubspec.yaml
.
Further changes
- feat: add support for reading style json from file in ios by @TimAlber in #132
- Add podspecs in correct Cocoapods layout by @kuhnroyal in #128
- fix: fix the queryRenderedFeatures code on iOS by @TimAlber in #137
- feat: Set layer visibility by @m0nac0 in #138
- feat: add support for changing the receiver’s viewport to fit given bounds by @TimAlber in #133
- Change feature JSON encoding from .ascii to .utf8 by @SunBro-Marko in #142
- web: implement setCameraBounds by @m0nac0 in #145
- Use offical maplibre-gl.js and add README info by @Robbendebiene in #163
- android: adding tileSize to raster source by @mariusvn in #166
- Readme: document git default values for codespaces by @m0nac0 in #170
- query source features by @Grodien in #154
- Trimming styleString to simplify the JSON detection by @mariusvn in #175
- Fix getVisibleRegion method by @BartoszStasiurka in #179
- Reenable textureMode which was disabled in f8b2d1 by @maxammann in #194
- android: Bump Maplibre SDK to 9.6.0 & OkHttp to 4.9.3 by @mariusvn in #184
- Added getSourceIds to the controller by @mariusvn in #197
- Moved EventChannel creation in the downloadOfflineRegion method by @mariusvn in #205
- Fix crash android dispose nullpointerdereference by @GaelleJoubert in #203
- Migrate links in README, pubspec to Maplibre by @kuhnroyal in #224
- Added code of conduct file by @mariusvn in #233
- Adding github funding file by @mariusvn in #232
- Update LICENSE file by @mariusvn in #230
- Adding security policy by @mariusvn in #231
- upgrade dependency image by @m0nac0 in #248
- fix-example-app by @JulianBissekkou in #261
- 162-animate-camera-on-web-fix by @JulianBissekkou in #254
- 243-fix-crash-when-no-location-permission by @JulianBissekkou in #244
- 182-disposal-null-ref-crash by @JulianBissekkou in #259
- New android sdk version by @stefanschaller in #270
- 250-change-language-fixes by @stefanschaller in #275
- upgrade-ios-version by @JulianBissekkou in #277
- Simplify iOS usage instructions and example podfile by @m0nac0 in #278
- Add opportunity to use map in widget tests by @ManoyloK in #281
- fix-layers-prod-build by @stefanschaller in #291
- 👷Fix the codespace by upgrading the docker image by @ouvreboite in #297
- Add
updateImageSource
. by @CaviarChen in #271 - fix "unexpected null value" error when onStyleLoadedCallback is null by @m0nac0 in #307
- ✨attributionButtonPosition for web by @ouvreboite in #304
New Contributors
- @amenk made their first contribution in #114
- @TimAlber made their first contribution in #132
- @SunBro-Marko made their first contribution in #142
- @Robbendebiene made their first contribution in #163
- @mariusvn made their first contribution in #166
- @Grodien made their first contribution in #154
- @BartoszStasiurka made their first contribution in #179
- @maxammann made their first contribution in #194
- @GaelleJoubert made their first contribution in #201
- @JulianBissekkou made their first contribution in #261
- @stefanschaller made their first contribution in #270
- @ManoyloK made their first contribution in #281
- @ouvreboite made their first contribution in #297
- @CaviarChen made their first contribution in #271
Full Changelog: 0.16.0...0.17.0