Skip to content

Commit fec76ec

Browse files
maiosevil159
andauthored
Cp prepare v2.5.0 (#819)
* Mark ClipLayer as stable (#814) * Prepare release 2.5.0 (#818) --------- Co-authored-by: Roman Laitarenko <[email protected]>
1 parent c678118 commit fec76ec

File tree

11 files changed

+43
-46
lines changed

11 files changed

+43
-46
lines changed

CHANGELOG.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
### 2.5.0-rc.1
1+
# main
22

3-
Updated our generated code to align with iOS and Android platforms. Specifically, the changes:
3+
### 2.5.0
4+
5+
* Mark `ClipLayer` as stable.
6+
* Updated our generated code to align with iOS and Android platforms. Specifically, the changes:
47
* Update experimental `symbolElevationReference` property on `SymbolLayer`.
58
* Introduce `backgroundPitchAlignment` property on `BackgroundLayer`.
69
* Introduce experimental `fillZOffset` property on `FillLayer`.
@@ -11,20 +14,15 @@ Updated our generated code to align with iOS and Android platforms. Specifically
1114
* Add a property `emphasisCircleGlowRange` to `LocationIndicatorLayer` to control the glow effect of the emphasis circle – from the solid start to the fully transparent end.
1215
* Add experimental `ZOffset` properties to `PolylineAnnotationMessenger`, `PolygonAnnotationMessenger`, and `PointAnnotationMessenger`.
1316
* Introduce `FillExtrusionBaseAlignment` and `FillExtrusionHeightAlignment`, and `BackgroundPitchAlignment` enums.
14-
* Bump Maps SDK to 11.9.0-rc.1
15-
16-
### 2.5.0-beta.1
17-
1817
* Added viewport support to `MapWidget`. Control the camera’s initial position and behavior by specifying a ViewportState subclass in the viewport parameter. This allows for centering on specific locations, following the user’s position, or showing an overview of a geometry. If no viewport is provided, the map uses its default camera settings.
19-
```dart
20-
MapWidget(
21-
viewport: CameraViewportState(
22-
center: Point(coordinates: Position(-117.918976, 33.812092)),
23-
zoom: 15.0,
24-
),
25-
);
26-
```
27-
* Update Turf dependency to `4.0.0-beta.1`
18+
```dart
19+
MapWidget(
20+
viewport: CameraViewportState(
21+
center: Point(coordinates: Position(-117.918976, 33.812092)),
22+
zoom: 15.0,
23+
),
24+
);
25+
```
2826

2927
### 2.4.1
3028

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mapbox Maps SDK Flutter SDK
22

3-
The Mapbox Maps SDK Flutter SDK is an officially developed solution from Mapbox that enables use of our latest Maps SDK product (v11.9.0-rc.1). The SDK allows developers to embed highly-customized maps using a Flutter widget on Android and iOS.
3+
The Mapbox Maps SDK Flutter SDK is an officially developed solution from Mapbox that enables use of our latest Maps SDK product (v11.9.0). The SDK allows developers to embed highly-customized maps using a Flutter widget on Android and iOS.
44

55
Web and desktop are not supported.
66

@@ -98,7 +98,7 @@ To use the Maps Flutter SDK add the git dependency to the pubspec.yaml:
9898

9999
```
100100
dependencies:
101-
mapbox_maps_flutter: ^2.5.0-rc.1
101+
mapbox_maps_flutter: ^2.5.0
102102
```
103103

104104
### Configure permissions

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if (file("$rootDir/gradle/ktlint.gradle").exists() && file("$rootDir/gradle/lint
5959
}
6060

6161
dependencies {
62-
implementation "com.mapbox.maps:android:11.9.0-rc.1"
62+
implementation "com.mapbox.maps:android:11.9.0"
6363

6464
implementation "androidx.annotation:annotation:1.5.0"
6565
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.6.2"

android/src/main/kotlin/com/mapbox/maps/mapbox_maps/pigeons/Settings.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,11 +319,11 @@ data class LocationPuck3D(
319319
*/
320320
val modelScaleMode: ModelScaleMode? = null,
321321
/**
322-
* Strength of the emission. There is no emission for value 0. For value 1.0, only emissive component (no shading) is displayed and values above 1.0 produce light contribution to surrounding area, for some of the parts (e.g. doors).
322+
* Strength of the emission. There is no emission for value 0. For value 1.0, only emissive component (no shading) is displayed and values above 1.0 produce light contribution to surrounding area, for some of the parts (e.g. doors). Expressions that depend on measure-light are only supported as a global layer value (and not for each feature) when using GeoJSON or vector tile as the model layer source.
323323
* Default value: 1. Value range: [0, 5]
324324
*/
325325
val modelEmissiveStrength: Double? = null,
326-
/** Strength of the emission as Expression string, note that when [modelEmissiveStrengthExpression] is specified, it will overwrite the [modelEmissiveStrength] property. There is no emission for value 0. For value 1.0, only emissive component (no shading) is displayed and values above 1.0 produce light contribution to surrounding area, for some of the parts (e.g. doors). */
326+
/** The emissive strength expression of the model, which will overwrite the default model emissive strength. */
327327
val modelEmissiveStrengthExpression: String? = null
328328
) {
329329
companion object {

example/ios/Podfile.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ PODS:
44
- Flutter
55
- mapbox_maps_flutter (2.5.0-rc.1):
66
- Flutter
7-
- MapboxMaps (~> 11.9.0-rc.1)
8-
- Turf (= 4.0.0-beta.1)
9-
- MapboxCommon (24.9.0-rc.1):
10-
- Turf (= 4.0.0-beta.1)
11-
- MapboxCoreMaps (11.9.0-rc.1):
12-
- MapboxCommon (~> 24.9.0-rc)
13-
- MapboxMaps (11.9.0-rc.1):
14-
- MapboxCommon (= 24.9.0-rc.1)
15-
- MapboxCoreMaps (= 11.9.0-rc.1)
16-
- Turf (= 4.0.0-beta.1)
7+
- MapboxMaps (~> 11.9.0)
8+
- Turf (= 4.0.0)
9+
- MapboxCommon (24.9.0):
10+
- Turf (= 4.0.0)
11+
- MapboxCoreMaps (11.9.0):
12+
- MapboxCommon (~> 24.9)
13+
- MapboxMaps (11.9.0):
14+
- MapboxCommon (= 24.9.0)
15+
- MapboxCoreMaps (= 11.9.0)
16+
- Turf (= 4.0.0)
1717
- path_provider_foundation (0.0.1):
1818
- Flutter
1919
- FlutterMacOS
2020
- permission_handler_apple (9.1.1):
2121
- Flutter
22-
- Turf (4.0.0-beta.1)
22+
- Turf (4.0.0)
2323

2424
DEPENDENCIES:
2525
- Flutter (from `Flutter`)
@@ -50,13 +50,13 @@ EXTERNAL SOURCES:
5050
SPEC CHECKSUMS:
5151
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
5252
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
53-
mapbox_maps_flutter: 93690cb438321f2af9da34647971837cc3425f8e
54-
MapboxCommon: 8e2385f687c0d926629edf6944bed76e97005aea
55-
MapboxCoreMaps: 158ef71e718bc444b1bdfc9fd672ff6d6f8ff6d4
56-
MapboxMaps: 977580c694c4fed58ad0d73d2c30818396d53ae2
53+
mapbox_maps_flutter: 290cae0dc6bc16c6fe29b2cc26b0f9018ac29aa6
54+
MapboxCommon: 678bfc4b477a804244fd7323c79cc7f2402f844e
55+
MapboxCoreMaps: 5cd77c7251dea10903135e8427c788212bd26346
56+
MapboxMaps: 2ce57c4ec89d8f05eacfebdd39b01216e0c06168
5757
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
5858
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
59-
Turf: ce90b58ad96b4f71cf03b1ba80f71753ee586932
59+
Turf: c9eb11a65d96af58cac523460fd40fec5061b081
6060

6161
PODFILE CHECKSUM: e9395e37b54f3250ebce302f8de7800b2ba2b828
6262

ios/Classes/Generated/Settings.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,10 @@ struct LocationPuck3D {
290290
/// Defines scaling mode. Only applies to location-indicator type layers.
291291
/// Default value: "map".
292292
var modelScaleMode: ModelScaleMode?
293-
/// Strength of the emission. There is no emission for value 0. For value 1.0, only emissive component (no shading) is displayed and values above 1.0 produce light contribution to surrounding area, for some of the parts (e.g. doors).
293+
/// Strength of the emission. There is no emission for value 0. For value 1.0, only emissive component (no shading) is displayed and values above 1.0 produce light contribution to surrounding area, for some of the parts (e.g. doors). Expressions that depend on measure-light are only supported as a global layer value (and not for each feature) when using GeoJSON or vector tile as the model layer source.
294294
/// Default value: 1. Value range: [0, 5]
295295
var modelEmissiveStrength: Double?
296-
/// Strength of the emission as Expression string, note that when [modelEmissiveStrengthExpression] is specified, it will overwrite the [modelEmissiveStrength] property. There is no emission for value 0. For value 1.0, only emissive component (no shading) is displayed and values above 1.0 produce light contribution to surrounding area, for some of the parts (e.g. doors).
296+
/// The emissive strength expression of the model, which will overwrite the default model emissive strength.
297297
var modelEmissiveStrengthExpression: String?
298298

299299
// swift-format-ignore: AlwaysUseLowerCamelCase

ios/mapbox_maps_flutter.podspec

Lines changed: 3 additions & 3 deletions
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 = '2.5.0-rc.1'
7+
s.version = '2.5.0'
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.'
@@ -17,8 +17,8 @@ Pod::Spec.new do |s|
1717
s.dependency 'Flutter'
1818
s.platform = :ios, '12.0'
1919

20-
s.dependency 'MapboxMaps', '~> 11.9.0-rc.1'
21-
s.dependency 'Turf', '4.0.0-beta.1'
20+
s.dependency 'MapboxMaps', '~> 11.9.0'
21+
s.dependency 'Turf', '4.0.0'
2222

2323
# Flutter.framework does not contain a i386 slice.
2424
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }

lib/src/map_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class _MapWidgetState extends State<MapWidget> {
203203
'textureView': widget.textureView,
204204
'styleUri': widget.styleUri,
205205
'channelSuffix': _mapboxMapsPlatform.channelSuffix,
206-
'mapboxPluginVersion': '2.5.0-rc.1',
206+
'mapboxPluginVersion': '2.5.0',
207207
'eventTypes': _events.eventTypes.map((e) => e.index).toList(),
208208
};
209209
_events.subscribedEventTypes = _events.eventTypes;

lib/src/pigeons/settings.dart

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/style/layer/clip_layer.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
part of mapbox_maps_flutter;
33

44
/// Layer that removes 3D content from map.
5-
@experimental
65
class ClipLayer extends Layer {
76
ClipLayer({
87
required String id,

0 commit comments

Comments
 (0)