Skip to content

Commit

Permalink
Pushing version 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Matias Dahlin Holst committed Sep 11, 2024
1 parent b9352ec commit 35254ca
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions lib/core/mapsindoors_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,11 @@ class MapsIndoorsWidget extends UniqueWidget {
Future<List<MPFeatureType>> getHiddenFeatures() {
return MapcontrolPlatform.instance.getHiddenFeatures();
}

/// Renders the positioning blue dot at the last known user position on the map
Future<void> setShowCompassOnRotate(bool show) {
return MapcontrolPlatform.instance.showCompassOnRotate(show);
}
}

class _MapsIndoorsState extends State<MapsIndoorsWidget> {
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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/

Expand All @@ -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:
Expand Down

0 comments on commit 35254ca

Please sign in to comment.