|
1 |
| -## 0.1.0-pre1 |
| 1 | +## 0.2.0-beta |
2 | 2 |
|
3 |
| -This is the first pre-release of the Google Maps Navigation package for Flutter. It is an early look at the package and is intended for testing and feedback collection. The functionalities and APIs in this version are subject to change. |
| 3 | +This is the beta release of the Google Maps Navigation package for Flutter. It is an early look at the package and is intended for testing and feedback collection. The functionalities and APIs in this version are subject to change. |
| 4 | + |
| 5 | +**Key Features:** |
| 6 | +- `setDestinations` now supports a `RouteTokenOptions` parameter. |
| 7 | +- Added support for custom marker icons: |
| 8 | + - `registerBitmapImage` to register `ImageDescriptor`. |
| 9 | + - `unregisterImage` to unregister `ImageDescriptor`. |
| 10 | + - Registered `ImageDescriptor` can be used as icon for `MarkerOptions`. |
| 11 | +- Added following event listeners: |
| 12 | + - `onNavigationUIEnabledChanged` |
| 13 | + - `onMyLocationClicked` |
| 14 | + - `onMyLocationButtonClicked` |
| 15 | + - `onCameraMoveStarted` |
| 16 | + - `onCameraMove` |
| 17 | + - `onCameraIdle` |
| 18 | + - `onCameraStartedFollowingLocation` |
| 19 | + - `onCameraStoppedFollowingLocation` |
| 20 | +- Added `setConsumeMyLocationButtonClickEventsEnabled` method to control if the default my location button click event should be consumed by the plugin or not. |
| 21 | +- Added the following methods to control zoom level preferences of the map: `setMinZoomPreference`, `setMaxZoomPreference`, |
| 22 | +`getMinZoomPreference`, `getMaxZoomPreference` and `resetMinMaxZoomPreference`. |
| 23 | +- Added `GoogleMapsNavigator.getNavSDKVersion()` method to fetch the Navigation SDK version |
| 24 | +- `GoogleMapsNavigator.initializeNavigationSession()` now accepts optional parameter `abnormalTerminationReportingEnabled` to enable/disable reporting abnormal SDK terminations such as app crashes |
| 25 | +- Improved error handling and reporting. |
| 26 | + |
| 27 | +**BREAKING CHANGES:** |
| 28 | +- **GoogleNavigationViewController** Following gesture and UI option setters have been renamed: |
| 29 | + - `enableNavigationUI({required bool})` to `setNavigationUIEnabled(bool)` |
| 30 | + - `enableNavigationHeader({required bool})` to `setNavigationHeaderEnabled(bool)` |
| 31 | + - `enableNavigationFooter({required bool})` to `setNavigationFooterEnabled(bool)` |
| 32 | + - `enableNavigationTripProgressBar({required bool})` to `setNavigationTripProgressBarEnabled(bool)` |
| 33 | + - `enableSpeedLimitIcon({required bool})` to `setSpeedLimitIconEnabled(bool)` |
| 34 | + - `enableSpeedometer({required bool})` to `setSpeedometerEnabled(bool)` |
| 35 | + - `enableMyLocation({required bool})` to `setMyLocationEnabled(bool)` |
| 36 | + - `enableMyLocationButton({required bool})` to `setMyLocationButtonEnabled(bool)` |
| 37 | + - `enableRecenterButton({required bool})` to `setRecenterButtonEnabled(bool)` |
| 38 | + - `enableZoomGestures({required bool}) setZoomGesturesEnabled(bool)` |
| 39 | + - `enableZoomControls({required bool})` to `setZoomControlsEnabled(bool)` |
| 40 | + - `enableCompass({required bool})` to `setCompassEnabled(bool)` |
| 41 | + - `enableRotateGestures({required bool})` to `setRotateGesturesEnabled(bool)` |
| 42 | + - `enableScrollGestures({required bool})` to `setScrollGesturesEnabled(bool)` |
| 43 | + - `enableScrollGesturesDuringRotateOrZoom({required bool})` to `setScrollGesturesDuringRotateOrZoomEnabled(bool)` |
| 44 | + - `enableTiltGestures({required bool})` to `setTiltGesturesEnabled(bool)` |
| 45 | + - `enableTraffic({required bool})` to `setTrafficEnabled(bool)` |
| 46 | + - `enableMapToolbar({required bool})` to `setMapToolbarEnabled(bool)` |
| 47 | + - `enableIncidentCards({required bool})` to `setTrafficIncidentCardsEnabled(bool)` |
| 48 | + - `isIncidentCardsEnabled()` to `isTrafficIncidentCardsEnabled` |
| 49 | + |
| 50 | +- **GoogleMapsNavigationView:** |
| 51 | + - `initialNavigationUiEnabled` boolean has been renamed to `initialNavigationUIEnabledPreference` enumeration |
| 52 | + - Initial camera position defaults to zoom level 3.0 instead of 0.0 |
| 53 | + |
| 54 | +## 0.1.0-beta |
| 55 | + |
| 56 | +This is the beta release of the Google Maps Navigation package for Flutter. It is an early look at the package and is intended for testing and feedback collection. The functionalities and APIs in this version are subject to change. |
4 | 57 |
|
5 | 58 | **Key Features:**
|
6 | 59 | - Integration of Google Maps Navigation with Flutter.
|
|
0 commit comments