Skip to content

Commit 7fcb3cd

Browse files
committed
feat(fmm): update docs, flutter 3.29.0
1 parent 0361ef1 commit 7fcb3cd

File tree

6 files changed

+21
-22
lines changed

6 files changed

+21
-22
lines changed

example/android/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ GeneratedPluginRegistrant.java
1111
key.properties
1212
**/*.keystore
1313
**/*.jks
14+
app/.cxx/

example/lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ class SelectionPage extends StatelessWidget {
6363
),
6464
SelectionItemWidget(
6565
title: 'flutter_map_maplibre',
66-
desc: 'Performant vector tiles for flutter_map',
66+
desc: 'Use MapLibre as a layer in FlutterMap',
6767
routeName: '/flutter_map_maplibre',
6868
),
6969
SelectionItemWidget(
7070
title: 'flutter_map_maplibre 2',
71-
desc: 'Use flutter_map layers in maplibre',
71+
desc: 'Use FlutterMap layers in MapLibre',
7272
routeName: '/flutter_map_maplibre2',
7373
),
7474
SelectionItemWidget.disabledOnWeb(

flutter_map_maplibre/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
## [0.0.3] 2025-02-05
1+
## 0.0.4
2+
3+
- Update docs
4+
- Bump minimum Flutter version to 3.29.0
5+
- Bump minimum Dart version to 3.7.0
6+
7+
## 0.0.3
28

39
- Support for flutter_map v8
410

flutter_map_maplibre/README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ powered by [maplibre](https://pub.dev/packages/maplibre).
2222

2323
```yaml
2424
dependencies:
25-
flutter_map: ^7.0.0
26-
flutter_map_maplibre: ^0.0.1
27-
maplibre: ^0.1.0
25+
flutter_map: ^8.0.0
26+
flutter_map_maplibre: ^0.0.4
27+
maplibre: ^0.2.0
2828
```
2929
3030
2. Follow the platform
@@ -47,14 +47,9 @@ the [hosted example app](https://flutter-map-plugins.web.app/).
4747

4848
#### Use MapLibre as a vector layer in FlutterMap
4949

50-
Here we add a `MapLibreMap` as a layer to `FlutterMap` and let flutter_map
50+
Here we add a `MapLibreMap` as a layer to `FlutterMap` and let `flutter_map`
5151
handle all gesture inputs.
5252

53-
> [!WARNING]
54-
> NOTE: The `MapLibreLayer` has currently a known bug on Android causing it to
55-
> have a high delay and throwing exceptions to the
56-
> console: https://github.com/josxha/flutter_map_plugins/issues/54
57-
5853
```dart
5954
@override
6055
Widget build(BuildContext context) {
@@ -85,7 +80,7 @@ Widget build(BuildContext context) {
8580
#### Use FlutterMap layers inside MapLibre
8681

8782
In this solution we use `FlutterMap` layers in `MapLibreMap`.
88-
All gesture inputs are handled by maplibre.
83+
All gesture inputs are handled by `maplibre`.
8984

9085
```dart
9186
@override

flutter_map_maplibre/lib/src/extensions.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ extension MapCameraExt on MapCamera {
3030
center: center.toLatLng(),
3131
rotation: -bearing,
3232
crs: const fm.Epsg3857(),
33-
nonRotatedSize: Size(
34-
constraints.maxWidth,
35-
constraints.maxHeight,
36-
),
33+
nonRotatedSize: Size(constraints.maxWidth, constraints.maxHeight),
3734
);
3835
}
3936
}

flutter_map_maplibre/pubspec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
name: flutter_map_maplibre
22
description: "Performant Mapbox Vector Tiles (MVT) support for flutter_map powered by native MapLibre SDKs."
3-
version: 0.0.3
3+
version: 0.0.4
44
topics: [ flutter-map, map, vector, maplibre, mvt ]
55
repository: https://github.com/josxha/flutter_map_plugins
66
issue_tracker: https://github.com/josxha/flutter_map_plugins/issues
77
resolution: workspace
88

99
environment:
10-
sdk: '>=3.6.0 <4.0.0'
11-
flutter: ">=3.24.0"
10+
sdk: '>=3.7.0 <4.0.0'
11+
flutter: ">=3.29.0"
1212

1313
dependencies:
1414
flutter:
1515
sdk: flutter
1616
flutter_map: ^8.0.0
17-
latlong2: ^0.9.0
18-
maplibre: ^0.2.0
17+
latlong2: ^0.9.1
18+
maplibre: ^0.2.1
1919

2020
dev_dependencies:
2121
flutter_test:

0 commit comments

Comments
 (0)