Skip to content

Commit d418f8b

Browse files
pjleonard37Release SDK bot for Maps SDK team
andauthored
Update versions for 2.6.1, include layer updates (#876)
* Update versions for 2.6.1, include layer updates * Move to SPM --------- Co-authored-by: Release SDK bot for Maps SDK team <[email protected]>
1 parent b152324 commit d418f8b

File tree

13 files changed

+99
-88
lines changed

13 files changed

+99
-88
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
1-
### 2.6.0
1+
### 2.6.1
2+
3+
* Update Maps SDK to 11.10.1 (iOS) and 11.10.2 (Android), introducing several bug fixes:
4+
* Fix LUT not being applied to in-place updated images.
5+
* Fix in-place updates for SDF images.
6+
* Fix background layer not being updated if raster image was updated in-place or if color theme changed.
7+
* Vector icons supported in location indicator layer.
8+
* Important: `top-image`, `bearing-image`, and `shadow-image` properties on LocationIndicatorLayer are now paint properties instead of layout properties.
9+
* Fix mipmaps for images updated in place.
10+
* Ensure background color is correctly set.
11+
* Fixing missing vector images after style change
212

13+
### 2.6.0
314

415
> [!IMPORTANT]
516
> The iOS minimum deployment target is now iOS 14.0.

README.md

Lines changed: 1 addition & 1 deletion
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.10.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.10.1). 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

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.10.0"
62+
implementation "com.mapbox.maps:android:11.10.2"
6363

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

example/integration_test/style/layer/location_indicator_layer_test.dart

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ void main() {
1919
minZoom: 1.0,
2020
maxZoom: 20.0,
2121
slot: LayerSlot.BOTTOM,
22-
bearingImage: "abc",
23-
shadowImage: "abc",
24-
topImage: "abc",
2522
accuracyRadius: 1.0,
2623
accuracyRadiusBorderColor: Colors.red.value,
2724
accuracyRadiusColor: Colors.red.value,
2825
bearing: 1.0,
26+
bearingImage: "abc",
2927
bearingImageSize: 1.0,
3028
emphasisCircleColor: Colors.red.value,
3129
emphasisCircleGlowRange: [0.0, 1.0],
@@ -34,7 +32,9 @@ void main() {
3432
location: [0.0, 1.0, 2.0],
3533
locationIndicatorOpacity: 1.0,
3634
perspectiveCompensation: 1.0,
35+
shadowImage: "abc",
3736
shadowImageSize: 1.0,
37+
topImage: "abc",
3838
topImageSize: 1.0,
3939
));
4040
var layer =
@@ -43,13 +43,11 @@ void main() {
4343
expect(layer.maxZoom, 20);
4444
expect(layer.slot, LayerSlot.BOTTOM);
4545
expect(layer.visibility, Visibility.NONE);
46-
expect(layer.bearingImage, "abc");
47-
expect(layer.shadowImage, "abc");
48-
expect(layer.topImage, "abc");
4946
expect(layer.accuracyRadius, 1.0);
5047
expect(layer.accuracyRadiusBorderColor, Colors.red.value);
5148
expect(layer.accuracyRadiusColor, Colors.red.value);
5249
expect(layer.bearing, 1.0);
50+
expect(layer.bearingImage, "abc");
5351
expect(layer.bearingImageSize, 1.0);
5452
expect(layer.emphasisCircleColor, Colors.red.value);
5553
expect(layer.emphasisCircleGlowRange, [0.0, 1.0]);
@@ -58,7 +56,9 @@ void main() {
5856
expect(layer.location, [0.0, 1.0, 2.0]);
5957
expect(layer.locationIndicatorOpacity, 1.0);
6058
expect(layer.perspectiveCompensation, 1.0);
59+
expect(layer.shadowImage, "abc");
6160
expect(layer.shadowImageSize, 1.0);
61+
expect(layer.topImage, "abc");
6262
expect(layer.topImageSize, 1.0);
6363
});
6464

@@ -79,13 +79,11 @@ void main() {
7979
minZoom: 1.0,
8080
maxZoom: 20.0,
8181
slot: LayerSlot.BOTTOM,
82-
bearingImageExpression: ['image', "abc"],
83-
shadowImageExpression: ['image', "abc"],
84-
topImageExpression: ['image', "abc"],
8582
accuracyRadiusExpression: ['number', 1.0],
8683
accuracyRadiusBorderColorExpression: ['rgba', 255, 0, 0, 1],
8784
accuracyRadiusColorExpression: ['rgba', 255, 0, 0, 1],
8885
bearingExpression: ['number', 1.0],
86+
bearingImageExpression: ['image', "abc"],
8987
bearingImageSizeExpression: ['number', 1.0],
9088
emphasisCircleColorExpression: ['rgba', 255, 0, 0, 1],
9189
emphasisCircleGlowRangeExpression: [
@@ -100,7 +98,9 @@ void main() {
10098
],
10199
locationIndicatorOpacityExpression: ['number', 1.0],
102100
perspectiveCompensationExpression: ['number', 1.0],
101+
shadowImageExpression: ['image', "abc"],
103102
shadowImageSizeExpression: ['number', 1.0],
103+
topImageExpression: ['image', "abc"],
104104
topImageSizeExpression: ['number', 1.0],
105105
));
106106
var layer =
@@ -114,13 +114,11 @@ void main() {
114114
["get", "type"],
115115
"Feature"
116116
]);
117-
expect(layer.bearingImageExpression, ['image', "abc"]);
118-
expect(layer.shadowImageExpression, ['image', "abc"]);
119-
expect(layer.topImageExpression, ['image', "abc"]);
120117
expect(layer.accuracyRadius, 1.0);
121118
expect(layer.accuracyRadiusBorderColorExpression, ['rgba', 255, 0, 0, 1]);
122119
expect(layer.accuracyRadiusColorExpression, ['rgba', 255, 0, 0, 1]);
123120
expect(layer.bearing, 1.0);
121+
expect(layer.bearingImageExpression, ['image', "abc"]);
124122
expect(layer.bearingImageSize, 1.0);
125123
expect(layer.emphasisCircleColorExpression, ['rgba', 255, 0, 0, 1]);
126124
expect(layer.emphasisCircleGlowRange, [0.0, 1.0]);
@@ -129,7 +127,9 @@ void main() {
129127
expect(layer.location, [0.0, 1.0, 2.0]);
130128
expect(layer.locationIndicatorOpacity, 1.0);
131129
expect(layer.perspectiveCompensation, 1.0);
130+
expect(layer.shadowImageExpression, ['image', "abc"]);
132131
expect(layer.shadowImageSize, 1.0);
132+
expect(layer.topImageExpression, ['image', "abc"]);
133133
expect(layer.topImageSize, 1.0);
134134
});
135135
}

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
);
242242
mainGroup = 97C146E51CF9000F007C117D;
243243
packageReferences = (
244-
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */,
244+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */,
245245
);
246246
productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
247247
projectDirPath = "";
@@ -768,7 +768,7 @@
768768
/* End XCConfigurationList section */
769769

770770
/* Begin XCLocalSwiftPackageReference section */
771-
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "FlutterGeneratedPluginSwiftPackage" */ = {
771+
781AD8BC2B33823900A9FFBB /* XCLocalSwiftPackageReference "Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage" */ = {
772772
isa = XCLocalSwiftPackageReference;
773773
relativePath = Flutter/ephemeral/Packages/FlutterGeneratedPluginSwiftPackage;
774774
};

example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

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

example/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved

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

ios/mapbox_maps_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
1717
s.dependency 'Flutter'
1818
s.platform = :ios, '14.0'
1919

20-
s.dependency 'MapboxMaps', '~> 11.10.0'
20+
s.dependency 'MapboxMaps', '11.10.1'
2121
s.dependency 'Turf', '4.0.0'
2222

2323
# Flutter.framework does not contain a i386 slice.

ios/mapbox_maps_flutter/Package.resolved

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

ios/mapbox_maps_flutter/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ let package = Package(
1212
.library(name: "mapbox-maps-flutter", targets: ["mapbox_maps_flutter"])
1313
],
1414
dependencies: [
15-
.package(url: "https://github.com/mapbox/mapbox-maps-ios.git", exact: "11.10.0"),
15+
.package(url: "https://github.com/mapbox/mapbox-maps-ios.git", exact: "11.10.1"),
1616
],
1717
targets: [
1818
.target(

0 commit comments

Comments
 (0)