Skip to content

Commit d418f8b

Browse files
pjleonard37Release SDK bot for Maps SDK team
and
Release SDK bot for Maps SDK team
authored
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 <maps_sdk_ios@mapbox.com>
1 parent b152324 commit d418f8b

File tree

13 files changed

+99
-88
lines changed

13 files changed

+99
-88
lines changed

CHANGELOG.md

+12-1
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

+1-1
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

+1-1
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

+12-12
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

+2-2
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

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"originHash" : "6229ee23b6a8d04ad4ba0e49a721da2f667f43d03a377fe7a2cd4634e5722ba3",
2+
"originHash" : "50458c355c914b35470e85ff19b0efdc1b4a87490e273fa7b434d0c1b68aa231",
33
"pins" : [
44
{
55
"identity" : "mapbox-common-ios",
@@ -15,17 +15,17 @@
1515
"kind" : "remoteSourceControl",
1616
"location" : "https://github.com/mapbox/mapbox-core-maps-ios.git",
1717
"state" : {
18-
"revision" : "1a2ba1fef2aba64275bdca258384a261114310fe",
19-
"version" : "11.10.0"
18+
"revision" : "dede3d5ae0b3bd5f4a0cbeed015f4396bd7f283d",
19+
"version" : "11.10.2"
2020
}
2121
},
2222
{
2323
"identity" : "mapbox-maps-ios",
2424
"kind" : "remoteSourceControl",
2525
"location" : "https://github.com/mapbox/mapbox-maps-ios.git",
2626
"state" : {
27-
"revision" : "fc8345d7c7de2b291e2ec04ad464bbd64a073b3b",
28-
"version" : "11.10.0"
27+
"revision" : "66a9c3042f221b3948c8264a49105b4db64b32be",
28+
"version" : "11.10.1"
2929
}
3030
},
3131
{

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

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
{
2-
"originHash" : "8adc99eec971b0b38cd21eb5fca54817527e35c82c903939a8dd8937f6626e89",
2+
"originHash" : "50458c355c914b35470e85ff19b0efdc1b4a87490e273fa7b434d0c1b68aa231",
33
"pins" : [
44
{
55
"identity" : "mapbox-common-ios",
66
"kind" : "remoteSourceControl",
77
"location" : "https://github.com/mapbox/mapbox-common-ios.git",
88
"state" : {
9-
"revision" : "eea3a287b1f6212a624b05286799cd22c554849f",
10-
"version" : "24.10.0-rc.1"
9+
"revision" : "c4802a9d46caed980477c7fc5d92a7b2ca22e0c0",
10+
"version" : "24.10.0"
1111
}
1212
},
1313
{
1414
"identity" : "mapbox-core-maps-ios",
1515
"kind" : "remoteSourceControl",
1616
"location" : "https://github.com/mapbox/mapbox-core-maps-ios.git",
1717
"state" : {
18-
"revision" : "1938905a7bc2721069df573d5010d8461fbe5ec7",
19-
"version" : "11.10.0-rc.1"
18+
"revision" : "dede3d5ae0b3bd5f4a0cbeed015f4396bd7f283d",
19+
"version" : "11.10.2"
2020
}
2121
},
2222
{
2323
"identity" : "mapbox-maps-ios",
2424
"kind" : "remoteSourceControl",
2525
"location" : "https://github.com/mapbox/mapbox-maps-ios.git",
2626
"state" : {
27-
"revision" : "8a58e117b0adf7a7503e743b8841a558d0a559ea",
28-
"version" : "11.10.0-rc.1"
27+
"revision" : "66a9c3042f221b3948c8264a49105b4db64b32be",
28+
"version" : "11.10.1"
2929
}
3030
},
3131
{

ios/mapbox_maps_flutter.podspec

+1-1
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

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414
"kind" : "remoteSourceControl",
1515
"location" : "https://github.com/mapbox/mapbox-core-maps-ios.git",
1616
"state" : {
17-
"revision" : "1a2ba1fef2aba64275bdca258384a261114310fe",
18-
"version" : "11.10.0"
17+
"revision" : "dede3d5ae0b3bd5f4a0cbeed015f4396bd7f283d",
18+
"version" : "11.10.2"
1919
}
2020
},
2121
{
2222
"identity" : "mapbox-maps-ios",
2323
"kind" : "remoteSourceControl",
2424
"location" : "https://github.com/mapbox/mapbox-maps-ios.git",
2525
"state" : {
26-
"revision" : "fc8345d7c7de2b291e2ec04ad464bbd64a073b3b",
27-
"version" : "11.10.0"
26+
"revision" : "66a9c3042f221b3948c8264a49105b4db64b32be",
27+
"version" : "11.10.1"
2828
}
2929
},
3030
{

ios/mapbox_maps_flutter/Package.swift

+1-1
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(

lib/src/package_info.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
part of mapbox_maps_flutter;
22

3-
const String mapboxPluginVersion = '2.6.0';
3+
const String mapboxPluginVersion = '2.6.1';

0 commit comments

Comments
 (0)