mapbox_maps_flutter 1.0.0
mapbox_maps_flutter: ^1.0.0 copied to clipboard
A Flutter plugin for integrating Mapbox Maps SDK v11 in Android/iOS application.
1.0.0 #
- Add
MapboxMapsOptions.get/setWorldview()andMapboxMapsOptions.get/setLanguage(). Use this to to adjust administrative boundaries/map language based on the map's audience. Read more about Mapbox worldviews and language support. - Add a way to specify custom id for annotation manager(and subsequently its backing layer's and source's ids).
- Add
belowparameter tocreateAnnotationManager(), use this to control the position of the annotation layer in relation to other style layers. - Add
DefaultLocationPuck2Dtype interchangeable withLocationPuck2Dthat allows customization of the default location indicator appearance. - Add
_AnnotationManager.removeAnnotationManagerById()allowing to remove annotation manager by its id, without having to store a reference to the manager. - Fix point annotation image disappearing after update on iOS.
- Bump Pigeon to v16.0.0.
- Updater minimum Flutter SDK version to 3.10.0 and above.
- Update minumum Dart SDK version to 3.0.0 and above.
- Convert
MapboxMapsOptions.setBaseUrl(),MapboxMapsOptions.getDataPath(),MapboxMapsOptions.setDataPath(),MapboxMapsOptions.getAssetPath(),MapboxMapsOptions.setAssetPath(),MapboxMapsOptions.getTileStoreUsageMode()andMapboxMapsOptions.setTileStoreUsageMode()to static methods. - Fix 2D puck's opacity not being respected on iOS.
- Make
paddingparameter optional inMapboxMap.cameraForCoordinateBounds()andMapboxMap.cameraForCoordinates(). - Fix initial camera options passed to
MapWidgetnot being applied on Android. - Add an example representing a traffic route with color based on traffic volumes using LineLayer and Expression.
- [Android] Fix MapOptions incorrect index access at map creation, leading to map not being created(blank view).
- [Android] Use hybrid composition(HC) as the default platform view hosting mode on Android.
- [Android] Add experimental
androidHostingModeconstructor parameter toMapWidget. Use this to change the way platform MapView is being hosted by Flutter on Android. This changes the way map view is composited with Flutter UI, read more on this in Android Platform Views guide from the Flutter team. - [iOS]
MapboxMap:isGestureInProgress(),isUserAnimationInProgress(),setConstrainMode(),setNorthOrientation(),setViewportMode()andreduceMemoryUse()are now available on iOS. - Add
LogConfigurationallowing to intercept logs produced by the plugin. Pass your customLogWriterBackendtoLogConfiguration.registerLogWriterBackend()to redirect logs produced by the mapping engine to your desired destination. - Add
MapWidget.onResourceRequestListenerthat can be used to subscribe to resource requests made by the map. - [iOS] Re-wire
MapWidget'sonScrollevent to be triggered whenever map is being panned instead of triggering it only after pan ends. - [iOS] Address crashes on iOS happening when user location is being shown.
- Bump platform Maps SDK dependencies to 11.1.0.
1.0.0-rc.1 #
- Add
LogConfigurationallowing to intercept logs produced by the plugin. Pass your customLogWriterBackendtoLogConfiguration.registerLogWriterBackend()to redirect logs produced by the mapping engine to your desired destination. - Add
MapWidget.onResourceRequestListenerthat can be used to subscribe to resource requests made by the map. - [iOS] Re-wire
MapWidget'sonScrollevent to be triggered whenever map is being panned instead of triggering it only after pan ends. - [iOS] Address crashes on iOS happening when user location is being shown.
1.0.0-beta.3 #
- Add an example representing a traffic route with color based on traffic volumes using LineLayer and Expression.
- [Android] Fix MapOptions incorrect index access at map creation, leading to map not being created(blank view).
- [Android] Use hybrid composition(HC) as the default platform view hosting mode on Android.
- [Android] Add experimental
androidHostingModeconstructor parameter toMapWidget. Use this to change the way platform MapView is being hosted by Flutter on Android. This changes the way map view is composited with Flutter UI, read more on this in Android Platform Views guide from the Flutter team. - [iOS]
MapboxMap:isGestureInProgress(),isUserAnimationInProgress(),setConstrainMode(),setNorthOrientation(),setViewportMode()andreduceMemoryUse()are now available on iOS. - Bump platform Maps SDK dependencies to 11.2.0-beta.1.
1.0.0-beta.2 #
- Add a way to specify custom id for annotation manager(and subsequently its backing layer's and source's ids).
- Add
belowparameter tocreateAnnotationManager(), use this to control the position of the annotation layer in relation to other style layers. - Add
DefaultLocationPuck2Dtype interchangeable withLocationPuck2Dthat allows customization of the default location indicator appearance. - Add
_AnnotationManager.removeAnnotationManagerById()allowing to remove annotation manager by its id, without having to store a reference to the manager. - Fix point annotation image disappearing after update on iOS.
- Bump Pigeon to v16.0.0.
- Updater minimum Flutter SDK version to 3.10.0 and above.
- Update minumum Dart SDK version to 3.0.0 and above.
- Convert
MapboxMapsOptions.setBaseUrl(),MapboxMapsOptions.getDataPath(),MapboxMapsOptions.setDataPath(),MapboxMapsOptions.getAssetPath(),MapboxMapsOptions.setAssetPath(),MapboxMapsOptions.getTileStoreUsageMode()andMapboxMapsOptions.setTileStoreUsageMode()to static methods. - Fix 2D puck's opacity not being respected on iOS.
- Make
paddingparameter optional inMapboxMap.cameraForCoordinateBounds()andMapboxMap.cameraForCoordinates(). - Fix initial camera options passed to
MapWidgetnot being applied on Android. - Bump platform Maps SDK dependencies to 11.1.0.
1.0.0-beta.1 #
Bump platform Maps SDK dependencies to 11.0.0.
0.5.1 #
Android #
- Fix registry token lookup failing with an unrelated error in certain circumstances.
0.5.0 #
Common #
- Screen-related units(screen coordinates, dimentions, etc.) are expected to be provided in logical pixels. We have matched screen-related units expected by the maps plugin to the units that Flutter operates with(logical pixels).
0.4.5 #
0.4.4 #
0.4.2 #
0.4.1 #
0.4.0 #
0.3.0 #
0.2.0 #
Common #
- Rename
MapViewtoMapWidget. - Remove
RenderCacheOptions. - Rename
MapboxMap.cameraForCoordinates2toMapboxMap.cameraForCoordinatesCameraOptions. - Rename
styles.darttomapbox_styles.dart. - Rename
fill-extrusion_layer.darttofill_extrusion_layer.dart,location-indicator_layer.darttolocation_indicator_layer.dart. - Fix exception thrown by
MapboxMap.coordinatesForPixels. - Fix camera example
_coordinateForPixel. - Add gesture listeners
MapWidget.onTapListener,MapWidget.onLongTapListener,MapWidget.onScrollListener.