Skip to content

Latest commit

 

History

History
189 lines (162 loc) · 12.3 KB

CHANGELOG.md

File metadata and controls

189 lines (162 loc) · 12.3 KB

upcoming version

Breaking Change:

  • useDelayedDisposal was removed since its now fixed in maplibre#259
  • useHybridCompositionOverride was removed since it was added in the following fix: maplibre#203 and we reverted the fix and used another approach to fix the actual issue.
  • The default for myLocationRenderMode was changed from COMPASS to NORMAL in maplibre#244, since the previous default value of COMPASS 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 use MyLocationRenderMode.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 to 2.14.0 in maplibre_gl_platform_interface/pubspec.yaml.

0.16.0, Jun 28, 2022

0.15.1, May 24, 2022

  • cherry-picked all commits from upstream up to upstream release 0.15.0
  • improved documentation
  • betted adapted the example app to MapLibre
  • hide logo on Android/iOS to match web

0.15.0, Oct 26, 2021

  • Fix bug when changing line color (see #448) by @vberthet in maplibre#15
  • Remove unnecessary imports by @m0nac0 in maplibre#34
  • Update example with Flutter 2.5.3 by @kuhnroyal in maplibre#35
  • CI: Use separate scheduled pipeline for Flutter beta builds by @kuhnroyal in maplibre#28
  • Null safety (cherry-pick from upstream) by @m0nac0 in maplibre#31
  • [web] add missing removeLines, removeCircles and removeFills (cherry-pick tobrun#622) by @m0nac0 in maplibre#32
  • Replace style string in local style example by @m0nac0 in maplibre#33
  • [web] add getSymbolLatLng and getLineLatLngs by @m0nac0 in maplibre#37

0.14.0

Breaking changes:

  • Remove access token, update libraries, replace example styles #25 (also see #21)
    • The parameter accessToken of class MaplibreMap was removed. If you want to continue using a tile provider that requires an API key, specify that key directly in the URL of the tile source (see https://github.com/m0nac0/flutter-maplibre-gl#tile-sources-requiring-an-api-key)
    • The built-in constants for specific styles were also removed. You can continue using these styles by using the styles' URL

Other changes:

  • Remove warning about missing access token on Android #22
  • Example: use maplibre styles and add new demo style #23
  • Add about button to example app #26
  • various improvements to the CI
  • fixed formatting for some files that were not correctly formatted

0.13.0, Oct 6, 2021

🎉 The first release of flutter-maplibre-gl with the complete transition to Maplibre libraries. 🎉

Further improvements:

  • Update to Maplibre-Android-SDK 9.4.2
  • Update to MapLibre-iOS-SDK 5.12.0
  • Fix onUserLocationUpdated not firing on android #14
  • Add speed to UserLocation #11
  • Fix queryRenderedFeaturesInRect for iOS #10

Changes cherry-picked/ported from tobrun/flutter-mapbox-gl:0.12.0

  • Batch creation/removal for circles, fills and lines #576
  • Dependencies: updated image package #598
  • Improve description to enable location features #596
  • Fix feature manager on release build #593
  • Emit onTap only for the feature above the others #589
  • Add annotationOrder to web #588

Changes cherry-picked/ported from tobrun/flutter-mapbox-gl:0.11.0

  • Fixed issues caused by new android API #544
  • Add option to set maximum offline tile count #549
  • Fixed web build failure due to http package upgrade #550
  • Update OfflineRegion/OfflineRegionDefinition interfaces, synchronize with iOS and Android #545
  • Fix Mapbox GL JS CSS embedding on web #551
  • Update Podfile to fix iOS CI #565
  • Update deprecated patterns to fix CI static analysis #568
  • Add setOffline method on Android #537
  • Add batch mode of screen locations #554
  • Define which annotations consume the tap events #575
  • Remove failed offline region downloads #583

Below is the original changelog of the tobrun/flutter-mapbox-gl project, before the fork.

0.10.0, February 12, 2020

  • Merge offline regions #532
  • Update offline region metadata #530
  • Added web support for fills #501
  • Support styleString as "Documents directory/Temporary directory" #520
  • Use offline region ids #491
  • Ability to define annotation layer order #523
  • Clear fills API #527
  • Add heading to UserLocation and expose UserLocation type #522
  • Patch addFill with data parameter #524
  • Fix style annotation is not deselected on iOS #512
  • Update tracked camera position in camera#onIdle #500
  • Fix iOS implementation of map#toLatLng on iOS #495
  • Migrate to new Android flutter plugin architecture #488
  • Update readme to fix UnsatisfiedLinkError #422
  • Improved Image Source Support #469
  • Avoid white space when resizing map on web #474
  • Allow MapboxMap() to override Widget Key. #475
  • Offline region feature #336
  • Fix iOS symbol tapped interaction #443

0.9.0, October 24. 2020

  • Fix data parameter for addLine and addCircle #388
  • Re-enable attribution on Android #383
  • Upgrade annotation plugin to v0.9 #381
  • Breaking change: CameraUpdate.newLatLngBounds() now supports setting different padding values for left, top, right, bottom with default of 0 for all. Implementations using the old approach with only one padding value for all edges have to be updated. #382
  • web:ignore myLocationTrackingMode if myLocationEnabled is false #363
  • Add methods to access projection #380
  • Add fill API support for Android and iOS #49
  • Listen to OnUserLocationUpdated to provide user location to app #237
  • Correct integration in Activity lifecycle on Android #266
  • Add support for custom font stackn in symbol options #359
  • Fix memory leak on iOS caused by strong self reference #370
  • Basic ImageSource Support #409
  • Get meters per pixel at latitude #416
  • Fix onStyleLoadedCallback #418

0.8.0, August 22, 2020

  • implementation of feature querying #177
  • Batch create/delete of symbols #279
  • Add multi map support #315
  • Fix OnCameraIdle not being invoked #313
  • Fix android zIndex symbol option #312
  • Set dependencies from git #319
  • Add line#getGeometry and symbol#getGeometry #281

0.7.0, June 6, 2020

  • Introduction of mapbox_gl_platform_interface library
  • Introduction of mapbox_gl_web library
  • Integrate web support through mapbox-gl-js
  • Add icon-allow-overlap configurations

0.0.6, May 31, 2020

  • Update mapbox depdendency to 9.2.0 (android) and 5.6.0 (iOS)
  • Long press handlers for both iOS as Android
  • Change default location tracking to none
  • OnCameraIdle listener support
  • Add image to style
  • Add animation duration to animateCamera
  • Content insets
  • Visible region support on iOS
  • Numerous bug fixes

0.0.5, December 21, 2019

  • iOS support for annotation extensions (circle, symbol, line)
  • Update SDK to 8.5.0 (Android) and 5.5.0 (iOS)
  • Integrate style loaded callback api
  • Add Map click event (iOS)
  • Cache management API (Android/iOS)
  • Various fixes to showing user location and configurations (Android/iOS)
  • Last location API (Android)
  • Throttle max FPS of user location component (Android)
  • Fix for handling permission handling of the test application (Android)
  • Support for loading symbol images from assets (iOS/Android)

v0.0.4, Nov 2, 2019

  • Update SDK to 8.4.0 (Android) and 5.4.0 (iOS)
  • Add support for sideloading offline maps (Android/iOS)
  • Add user tracking mode (iOS)
  • Invert compassView.isHidden logic (iOS)
  • Specific swift version (iOS)

v0.0.3, Mar 30, 2019

  • Camera API (iOS)
  • Line API (Android)
  • Update codebase to AndroidX
  • Update Mapbox Maps SDK for Android to v7.3.0

v0.0.2, Mar 23, 2019

  • Support for iOS
  • Migration to embedded Android and iOS SDK View system
  • Style URL API
  • Style JSON API (Android)
  • Gesture support
  • Gesture restrictions (Android)
  • Symbol API (Android)
  • Location component (Android)
  • Camera API (Android)

v0.0.1, May 7, 2018

  • Initial Android surface rendering POC