Skip to content

Commit 20cb112

Browse files
authored
Update to v2.0.0-beta.1 (#531)
1 parent fd2c16c commit 20cb112

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
### main
22

3+
### 2.0.0-beta.1
4+
35
* Introduce experimental `RasterArraySource`, note that `rasterLayers` is a get-only property and cannot be set.
46
* Introduce `TileCacheBudget`, a property to set per-source cache budgets in either megabytes or tiles.
57
* Expose `iconColorSaturation`, `rasterArrayBand`, `rasterElevation`, `rasterEmissiveStrength`, `hillshadeEmissiveStrength`, and `fillExtrusionEmissiveStrength` on their respective layers.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ To access platform SDKs you will need to create a secret access token with the `
6969
```
7070

7171
#### Public token
72-
You can set the access token for Mapbox Maps Flutter Plugin(as well as for evey Mapbox SDK) via `MapboxOptions`:
72+
You can set the access token for Mapbox Maps Flutter Plugin(as well as for every Mapbox SDK) via `MapboxOptions`:
7373
```
7474
MapboxOptions.setAccessToken(ACCESS_TOKEN);
7575
```
@@ -110,7 +110,7 @@ To use the Maps Flutter Plugin add the git dependency to the pubspec.yaml:
110110

111111
```
112112
dependencies:
113-
mapbox_maps_flutter: ^1.1.0
113+
mapbox_maps_flutter: ^2.0.0-beta.1
114114
```
115115

116116
### Configure permissions

ios/mapbox_maps_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'mapbox_maps_flutter'
7-
s.version = '1.1.0'
7+
s.version = '2.0.0-beta.1'
88

99
s.summary = 'Mapbox Maps SDK Flutter Plugin.'
1010
s.description = 'An officially developed solution from Mapbox that enables use of our latest Maps SDK product.'

lib/src/map_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class _MapWidgetState extends State<MapWidget> {
187187
'textureView': widget.textureView,
188188
'styleUri': widget.styleUri,
189189
'channelSuffix': _suffix,
190-
'mapboxPluginVersion': '1.1.0'
190+
'mapboxPluginVersion': '2.0.0-beta.1'
191191
};
192192

193193
return _mapboxMapsPlatform.buildView(widget.androidHostingMode,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: mapbox_maps_flutter
22
description: A Flutter plugin for integrating Mapbox Maps SDK v11 in Android/iOS application.
3-
version: 1.1.0
3+
version: 2.0.0-beta.1
44
homepage: https://github.com/mapbox/mapbox-maps-flutter
55

66
environment:

0 commit comments

Comments
 (0)