From 35254ca21fa3df06b935bf4c3690b8708e759326 Mon Sep 17 00:00:00 2001 From: Matias Dahlin Holst Date: Wed, 11 Sep 2024 12:33:27 +0000 Subject: [PATCH] Pushing version 3.1.0 --- CHANGELOG.md | 19 +++++++++++++++++++ lib/core/mapsindoors_widget.dart | 5 +++++ pubspec.yaml | 8 ++++---- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1194bbd..be9d16c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,27 @@ # Changelog +## 3.1.0 + +### Addded + +* Added functionality for Android to update the map whenever a Display Rule is changed +* Added method on MapsIndoorsWidget to disable built-in compass + +### Changed + +* Disabled Mapbox Attributions button on Android as it would crash when clicked +* Updated Mapsindoors SDKs: + * Android to 4.8.9 + * iOS to 4.5.14 + ## 3.0.2 +### Fixed + * Fixed issues where updating display rules would not trigger a refresh on iOS + +### Changed + * Updated Mapsindoors SDKs: * Android to 4.8.8 * iOS to 4.5.12 diff --git a/lib/core/mapsindoors_widget.dart b/lib/core/mapsindoors_widget.dart index 82d3678..917f2d0 100644 --- a/lib/core/mapsindoors_widget.dart +++ b/lib/core/mapsindoors_widget.dart @@ -371,6 +371,11 @@ class MapsIndoorsWidget extends UniqueWidget { Future> getHiddenFeatures() { return MapcontrolPlatform.instance.getHiddenFeatures(); } + + /// Renders the positioning blue dot at the last known user position on the map + Future setShowCompassOnRotate(bool show) { + return MapcontrolPlatform.instance.showCompassOnRotate(show); + } } class _MapsIndoorsState extends State { diff --git a/pubspec.yaml b/pubspec.yaml index 6906bc3..92b18fa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: mapsindoors_mapbox description: A MapsIndoors flutter plugin using the Mapbox platform for Android and iOS app usage. -version: 3.0.2 +version: 3.1.0 repository: https://github.com/MapsPeople/mapsindoors_flutter_mapbox homepage: https://www.mapsindoors.com/ @@ -19,9 +19,9 @@ flutter: dependencies: flutter: sdk: flutter - mapsindoors_mapbox_android: ^3.0.2 - mapsindoors_mapbox_ios: ^3.0.2 - mapsindoors_platform_interface: ^3.0.2 + mapsindoors_mapbox_android: ^3.1.0 + mapsindoors_mapbox_ios: ^3.1.0 + mapsindoors_platform_interface: ^3.1.0 dev_dependencies: