Skip to content

Releases: maplibre/flutter-maplibre-gl

0.18.0

28 Nov 09:17
Compare
Choose a tag to compare

What's Changed

Breaking Change:

Already since 0.17.0, developers do not need to adapt their Podfile for iOS apps anymore as it was previously described in the Readme. Developers who previously added these lines should remove them, since not removing these lines may cause a build failure on iOS. (This change actually already landed in 0.17.0, but it may not have been sufficiently clear that not removing these lines might break builds).

Other Changes:

  • new feature: set arbitrary layer properties by @m0nac0 in #303
  • Update release process by @m0nac0 in #315
  • Add workflows for automated publishing to pub.dev by @m0nac0 in #328
  • Fix example app pubspec by @m0nac0 in #329
  • Updated location plugin version for example app by @varunlohade in #334
  • Housekeeping: Improve docs and update outdated references to point to MapLibre by @m0nac0 in #330

New Contributors

Full Changelog: 0.17.0...0.18.0

0.17.0

10 Nov 12:43
Compare
Choose a tag to compare

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 to maplibre_gl/maplibre_gl.dart. You can do a replace-all from import 'package:maplibre_gl/mapbox_gl.dart'; to import 'package:maplibre_gl/maplibre_gl.dart';
  • useDelayedDisposal was removed since its now fixed in #259
  • useHybridCompositionOverride 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 from COMPASS to NORMAL in #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.

Further changes

New Contributors

Full Changelog: 0.16.0...0.17.0

0.16.0

28 Jun 09:51
Compare
Choose a tag to compare

What's Changed

  • cherry-picked all commits from upstream up to flutter-mapbox-gl/maps@3496907, including up to release 0.16.0 from upstream
  • updated Maplibre GL JS for web

New Contributors

Full Changelog: 0.15.0...0.16.0

0.15.1

24 May 10:45
Compare
Choose a tag to compare

What's Changed

  • Replace style string in local style example by @m0nac0 in #33
  • [web] add getSymbolLatLng and getLineLatLngs by @m0nac0 in #37
  • Cherry-pick iOS support for colors with alpha by @m0nac0 in #41
  • Cherry-pick: Fix respecting annotationConsumeTapEvents on iOS by @m0nac0 in #42
  • New workflow: generate docs on push by @m0nac0 in #43
  • Add documentation for setMapLanguage by @m0nac0 in #49
  • Cherry-pick: fixed crashes with ios offline manager (upstream#724) by @m0nac0 in #45
  • Cherry-pick: setAttributionMargin to use left margin (upstream#714) by @m0nac0 in #46
  • Cherry-pick: Enable onMapIdle callback for android (upstream#729) by @m0nac0 in #47
  • Cherry-pick Fixes for onStyleLoaded (upstream#690) by @m0nac0 in #48
  • Cherry-pick: Add attribution button gravity, position normally (upstream#731) by @m0nac0 in #50
  • Bump actions/cache from 2.1.6 to 2.1.7 by @dependabot in #51
  • Bump subosito/flutter-action from 1 to 2.2.0 by @dependabot in #56
  • Bump subosito/flutter-action from 2.2.0 to 2.2.1 by @dependabot in #57
  • Bump subosito/flutter-action from 2.2.1 to 2.4.0 by @dependabot in #68
  • Bump actions/setup-java from 2 to 3 by @dependabot in #67
  • Bump actions/upload-artifact from 2 to 3 by @dependabot in #66
  • Bump actions/cache from 2.1.7 to 3.0.2 by @dependabot in #65
  • Bump actions/checkout from 2 to 3 by @dependabot in #61
  • Cherry-pick upstream#710 and upstream#852 by @m0nac0 in #69
  • Cherry-pick upstream#723 (Add support for (geojson) layers) by @m0nac0 in #70
  • Cherry-pick upstream#748 (fixed issue with annotation click order) by @m0nac0 in #71
  • Cherry-pick upstream#706 (Fixing memory leaks) by @m0nac0 in #72
  • Cherry-pick upstream#765 (fixed layer based feature selection) by @m0nac0 in #73
  • Fix issue preventing app launch on Android by @m0nac0 in #74
  • Cherry-pick upstream#778 by @m0nac0 in #75
  • Cherry-pick upstream#782 ([Android] Invoke onPause method of MapView in onPause lifecycle) by @m0nac0 in #76
  • Cherry-pick upstream#766 by @m0nac0 in #77
  • Cherry-pick upstream#767 ([android] speed property is null when onUserLocationUpdated is called) by @m0nac0 in #78
  • Cherry-pick upstream#775 (ios onstyleready reliability) by @m0nac0 in #79
  • Cherry-pick upstream#776 (Handle line color and geometry) by @m0nac0 in #80
  • Cherry-pick upstream#787 (fixed more issues with on style loaded not being called by @m0nac0 in #82
  • Cherry-pick upstream#789 (updated settings gradle to new version) by @m0nac0 in #83
  • Cherry-pick upstream#791 by @m0nac0 in #84
  • cherry-pick upstream#785 (flutter-mapbox-gl/maps#785) by @m0nac0 in #81
  • Cherry-pick upstream#798 (Pass click details to feature tapped) by @m0nac0 in #85
  • Cherry-pick upstream#803 (CI: add check for Dart formatting) by @m0nac0 in #86
  • Cherry-pick upstream#804 by @m0nac0 in #89
  • Cherry-pick upstream#808 by @m0nac0 in #88
  • Cherry-pick upstream#812 ( handle camera target bounds on android) by @m0nac0 in #90
  • Cherry-pick upstream#815 (fixed android crash on style switch) by @m0nac0 in #92
  • Cherry-pick upstream#820 (HOTFIX Add option to not use annotations - android performance) by @m0nac0 in #93
  • cherry-pick upstream#825 by @m0nac0 in #97
  • cherry-pick upstream#847 by @m0nac0 in #99
  • cherry-pick upstream#835 by @m0nac0 in #98
  • cherry-pick upstream#797 (full source support) by @m0nac0 in #100
  • example: add custom marker icon by @m0nac0 in #95
  • iOS: update MapLibre dependency by @m0nac0 in #94
  • hide logo on Android/iOS to match web by @m0nac0 in #101
  • cherry-pick upstream#851 (gesture fixes) by @m0nac0 in #102
  • cherry-pick upstream#854 by @m0nac0 in #103

Full Changelog: 0.15.0...0.15.1

0.15.0

26 Oct 11:41
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: 0.14.0...0.15.0

0.14.0

14 Oct 09:50
Compare
Choose a tag to compare

What's Changed

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' URLs

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

Contributors

Full Changelog: 0.13.0...0.14.0

0.13.0

06 Oct 17:13
Compare
Choose a tag to compare

What's Changed

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

Besides the following improvements, many changes were picked up from the flutter-mapbox-gl:0.11.0 and flutter-mapbox-gl:0.12.0 releases:

  • Fix queryRenderedFeaturesInRect for iOS by @Schedulaar in #10
  • Fix missing speed by @vberthet in #11
  • Merge tobrun 0.12 by @vberthet in #8
  • Fix onuserlocationupdated by @vberthet in #14
  • Fix iOS example project execution by @mindthefish in #9
  • Podfile: make it work w/ new Flutter versions by @m0nac0 in #1
  • Remove unnecessary Dart version constraint by @m0nac0 in #3
  • Alter Dart version constraints by @m0nac0 in #4
  • fix: readme flutter-mapbox-gl link by @thmsct in #5
  • Fix pubspec info in README.md by @tlueder in #6
  • Update gradle plugin version to 4.1.2 by @m0nac0 in #12

New Contributors

  • @m0nac0 made their first contribution in #1
  • @thmsct made their first contribution in #5
  • @tlueder made their first contribution in #6
  • @Schedulaar made their first contribution in #10
  • @vberthet made their first contribution in #11

Full Changelog: 0.10.0...0.13.0