Skip to content

Commit

Permalink
Update to v2.0.0-beta.1 (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjleonard37 committed May 3, 2024
1 parent fd2c16c commit 20cb112
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
### main

### 2.0.0-beta.1

* Introduce experimental `RasterArraySource`, note that `rasterLayers` is a get-only property and cannot be set.
* Introduce `TileCacheBudget`, a property to set per-source cache budgets in either megabytes or tiles.
* Expose `iconColorSaturation`, `rasterArrayBand`, `rasterElevation`, `rasterEmissiveStrength`, `hillshadeEmissiveStrength`, and `fillExtrusionEmissiveStrength` on their respective layers.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ To access platform SDKs you will need to create a secret access token with the `
```

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

```
dependencies:
mapbox_maps_flutter: ^1.1.0
mapbox_maps_flutter: ^2.0.0-beta.1
```

### Configure permissions
Expand Down
2 changes: 1 addition & 1 deletion ios/mapbox_maps_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
Pod::Spec.new do |s|
s.name = 'mapbox_maps_flutter'
s.version = '1.1.0'
s.version = '2.0.0-beta.1'

s.summary = 'Mapbox Maps SDK Flutter Plugin.'
s.description = 'An officially developed solution from Mapbox that enables use of our latest Maps SDK product.'
Expand Down
2 changes: 1 addition & 1 deletion lib/src/map_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class _MapWidgetState extends State<MapWidget> {
'textureView': widget.textureView,
'styleUri': widget.styleUri,
'channelSuffix': _suffix,
'mapboxPluginVersion': '1.1.0'
'mapboxPluginVersion': '2.0.0-beta.1'
};

return _mapboxMapsPlatform.buildView(widget.androidHostingMode,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mapbox_maps_flutter
description: A Flutter plugin for integrating Mapbox Maps SDK v11 in Android/iOS application.
version: 1.1.0
version: 2.0.0-beta.1
homepage: https://github.com/mapbox/mapbox-maps-flutter

environment:
Expand Down

0 comments on commit 20cb112

Please sign in to comment.