Skip to content

Commit fccf3f0

Browse files
committed
Merge branch 'main' into feat/handle-gestures-in-flutter
2 parents 7735058 + e4330df commit fccf3f0

File tree

219 files changed

+775
-644
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+775
-644
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ updates:
44
- package-ecosystem: "github-actions"
55
directory: "/"
66
schedule:
7-
interval: "weekly"
7+
interval: "monthly"
88
- package-ecosystem: "pub"
99
directories: [ "/example", "/maplibre", "/maplibre_ios", "/" ]
1010
schedule:
11-
interval: "weekly"
11+
interval: "monthly"
1212
ignore:
1313
- dependency-name: "*"
1414
update-types:
@@ -25,7 +25,7 @@ updates:
2525
- package-ecosystem: "gradle"
2626
directories: [ "/maplibre/android" , "/example/android" ]
2727
schedule:
28-
interval: "weekly"
28+
interval: "monthly"
2929
groups:
3030
dependencies:
3131
patterns: [ "*" ]

.github/workflows/ci.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: "[Dart] Check formatting"
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v5
19+
- uses: actions/checkout@v6
2020
- uses: subosito/flutter-action@v2
2121
with:
2222
cache: true
@@ -28,7 +28,7 @@ jobs:
2828
name: "[Swift] Check formatting"
2929
runs-on: macos-latest
3030
steps:
31-
- uses: actions/checkout@v5
31+
- uses: actions/checkout@v6
3232
- name: "Install SwiftFormat"
3333
run: brew install swiftformat
3434
- name: "Format Swift code"
@@ -37,7 +37,7 @@ jobs:
3737
name: "[Dart] Static code analysis"
3838
runs-on: ubuntu-latest
3939
steps:
40-
- uses: actions/checkout@v5
40+
- uses: actions/checkout@v6
4141
- uses: subosito/flutter-action@v2
4242
with:
4343
cache: true
@@ -49,7 +49,7 @@ jobs:
4949
name: "[Kotlin] Code quality"
5050
runs-on: ubuntu-latest
5151
steps:
52-
- uses: actions/checkout@v5
52+
- uses: actions/checkout@v6
5353
- name: ktlint
5454
uses: ScaCap/action-ktlint@v1
5555
with:
@@ -65,7 +65,7 @@ jobs:
6565
# run:
6666
# working-directory: example
6767
# steps:
68-
# - uses: actions/checkout@v5
68+
# - uses: actions/checkout@v6
6969
# - uses: futureware-tech/simulator-action@v3
7070
# with:
7171
# model: 'iPhone 15'
@@ -86,7 +86,7 @@ jobs:
8686
run:
8787
working-directory: maplibre
8888
steps:
89-
- uses: actions/checkout@v5
89+
- uses: actions/checkout@v6
9090
- name: "Setup Flutter SDK"
9191
uses: subosito/flutter-action@v2
9292
with:
@@ -109,7 +109,7 @@ jobs:
109109
# api-level: [ 24, 35 ]
110110
# timeout-minutes: 30
111111
# steps:
112-
# - uses: actions/checkout@v5
112+
# - uses: actions/checkout@v6
113113
# - name: "Setup Flutter SDK"
114114
# uses: subosito/flutter-action@v2
115115
# with:
@@ -147,7 +147,7 @@ jobs:
147147
# run:
148148
# working-directory: example
149149
# steps:
150-
# - uses: actions/checkout@v5
150+
# - uses: actions/checkout@v6
151151
# - name: "Setup Flutter SDK"
152152
# uses: subosito/flutter-action@v2
153153
# with:
@@ -173,7 +173,7 @@ jobs:
173173
working-directory: maplibre
174174
steps:
175175
- name: Checkout project
176-
uses: actions/checkout@v5
176+
uses: actions/checkout@v6
177177
- name: Setup Flutter
178178
uses: subosito/flutter-action@v2
179179
with:
@@ -195,7 +195,7 @@ jobs:
195195
matrix:
196196
sdk: [ '' ] # option to use a matrix test with the lower supported flutter version
197197
steps:
198-
- uses: actions/checkout@v5
198+
- uses: actions/checkout@v6
199199
- uses: subosito/flutter-action@v2
200200
with:
201201
flutter-version: ${{ matrix.sdk }}
@@ -221,13 +221,13 @@ jobs:
221221
timeout-minutes: 30
222222
defaults:
223223
run:
224-
working-directory: maplibre_ios/example
224+
working-directory: example
225225
strategy:
226226
fail-fast: false
227227
matrix:
228228
sdk: [ '' ] # option to use a matrix test with the lower supported flutter version
229229
steps:
230-
- uses: actions/checkout@v5
230+
- uses: actions/checkout@v6
231231
- uses: subosito/flutter-action@v2
232232
with:
233233
flutter-version: ${{ matrix.sdk }}
@@ -242,7 +242,7 @@ jobs:
242242
uses: actions/upload-artifact@v5
243243
with:
244244
name: maplibre-flutter-demo.app
245-
path: build/ios/iphonesimulator
245+
path: build/ios/iphoneos/Runner.app
246246
build-web:
247247
name: "[Web] Build"
248248
runs-on: ubuntu-latest
@@ -254,7 +254,7 @@ jobs:
254254
matrix:
255255
sdk: [ '' ] # option to use a matrix test with the lower supported flutter version
256256
steps:
257-
- uses: actions/checkout@v5
257+
- uses: actions/checkout@v6
258258
- uses: subosito/flutter-action@v2
259259
with:
260260
flutter-version: ${{ matrix.sdk }}
@@ -274,7 +274,7 @@ jobs:
274274
matrix:
275275
sdk: [ '' ] # option to use a matrix test with the lower supported flutter version
276276
steps:
277-
- uses: actions/checkout@v5
277+
- uses: actions/checkout@v6
278278
- uses: subosito/flutter-action@v2
279279
with:
280280
flutter-version: ${{ matrix.sdk }}
@@ -287,7 +287,7 @@ jobs:
287287
name: "[Pigeon] Check codegen"
288288
runs-on: ubuntu-latest
289289
steps:
290-
- uses: actions/checkout@v5
290+
- uses: actions/checkout@v6
291291
- uses: subosito/flutter-action@v2
292292
with:
293293
cache: true
@@ -310,7 +310,7 @@ jobs:
310310
name: "[Android] Check codegen"
311311
runs-on: ubuntu-latest
312312
steps:
313-
- uses: actions/checkout@v5
313+
- uses: actions/checkout@v6
314314
- uses: subosito/flutter-action@v2
315315
with:
316316
cache: true
@@ -347,7 +347,7 @@ jobs:
347347
# matrix:
348348
# sdk: [ '' ] # option to use a matrix test with the lower supported flutter version
349349
# steps:
350-
# - uses: actions/checkout@v5
350+
# - uses: actions/checkout@v6
351351
# - name: Clone maplibre-native with shallow submodules
352352
# run: |
353353
# git clone \
@@ -384,4 +384,4 @@ jobs:
384384
# exit 1
385385
# else
386386
# echo "✅ No uncommitted changes"
387-
# fi
387+
# fi

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: 'Checkout Repository'
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919
- name: 'Dependency Review'
2020
uses: actions/dependency-review-action@v4

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
build:
1616
defaults:
1717
run:
18-
working-directory: docs
18+
working-directory: website
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v5
22+
uses: actions/checkout@v6
2323
- name: Set up Node.js
2424
uses: actions/setup-node@v6
2525
# with:

.github/workflows/flutter-beta.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run:
1616
working-directory: example
1717
steps:
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@v6
1919
- uses: actions/setup-java@v5
2020
with:
2121
java-version: '21'
@@ -39,7 +39,7 @@ jobs:
3939
# run:
4040
# working-directory: example
4141
# steps:
42-
# - uses: actions/checkout@v5
42+
# - uses: actions/checkout@v6
4343
# - uses: subosito/flutter-action@v2
4444
# with:
4545
# channel: ${{ env.FLUTTER_CHANNEL }}
@@ -61,7 +61,7 @@ jobs:
6161
run:
6262
working-directory: example
6363
steps:
64-
- uses: actions/checkout@v5
64+
- uses: actions/checkout@v6
6565
- uses: subosito/flutter-action@v2
6666
with:
6767
channel: ${{ env.FLUTTER_CHANNEL }}
@@ -75,7 +75,7 @@ jobs:
7575
run:
7676
working-directory: example
7777
steps:
78-
- uses: actions/checkout@v5
78+
- uses: actions/checkout@v6
7979
- uses: subosito/flutter-action@v2
8080
with:
8181
channel: ${{ env.FLUTTER_CHANNEL }}

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
id-token: write
2121
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
2222
with:
23-
working-directory: .
23+
working-directory: maplibre

docs/.yarn/install-state.gz

-1.47 MB
Binary file not shown.

example/android/settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ plugins {
2222
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
2323
id("com.android.application") version "8.12.0" apply false
2424
id("org.jetbrains.kotlin.android") version "2.1.21" apply false
25-
id("org.jlleitschuh.gradle.ktlint") version "13.1.+" apply false
25+
id("org.jlleitschuh.gradle.ktlint") version "14.0.+" apply false
2626
}
2727

2828
include(":app")

example/lib/layers_marker_page.dart

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,22 @@ class LayersMarkerPage extends StatefulWidget {
1313

1414
class _LayersMarkerPageState extends State<LayersMarkerPage> {
1515
final _points = <Feature<Point>>[
16-
const Feature(geometry: Point(Geographic(lon: 9.17, lat: 47.68))),
17-
const Feature(geometry: Point(Geographic(lon: 9.17, lat: 48))),
18-
const Feature(geometry: Point(Geographic(lon: 9, lat: 48))),
19-
const Feature(geometry: Point(Geographic(lon: 9.5, lat: 48))),
16+
const Feature(
17+
geometry: Point(Geographic(lon: 9.17, lat: 47.68)),
18+
properties: {'name': 'Marker 1'},
19+
),
20+
const Feature(
21+
geometry: Point(Geographic(lon: 9.17, lat: 48)),
22+
properties: {'name': 'Marker 2'},
23+
),
24+
const Feature(
25+
geometry: Point(Geographic(lon: 9, lat: 48)),
26+
properties: {'name': 'Marker 3'},
27+
),
28+
const Feature(
29+
geometry: Point(Geographic(lon: 9.5, lat: 48)),
30+
properties: {'name': 'Marker 4'},
31+
),
2032
];
2133

2234
bool _imageLoaded = false;
@@ -55,7 +67,7 @@ class _LayersMarkerPageState extends State<LayersMarkerPage> {
5567
layers: [
5668
MarkerLayer(
5769
points: _points,
58-
textField: 'Marker',
70+
textField: '{name}',
5971
textAllowOverlap: true,
6072
iconImage: _imageLoaded ? 'marker' : null,
6173
iconSize: 0.15,

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
sdk: flutter
1717
go_router: ^16.0.0
1818
http: ^1.2.2
19-
maplibre: ^0.3.1
19+
maplibre: ^0.3.2
2020

2121
dev_dependencies:
2222
flutter_launcher_icons: ^0.14.3

0 commit comments

Comments
 (0)