chore: Update flutter_map

This commit is contained in:
Krille 2023-01-03 17:31:03 +01:00
parent 6e9e3d05d2
commit b894a4542a
3 changed files with 8 additions and 8 deletions

View File

@ -35,15 +35,15 @@ class MapBubble extends StatelessWidget {
center: LatLng(latitude, longitude), center: LatLng(latitude, longitude),
zoom: zoom, zoom: zoom,
), ),
layers: [ children: [
TileLayerOptions( TileLayer(
maxZoom: 20, maxZoom: 20,
minZoom: 0, minZoom: 0,
urlTemplate: urlTemplate:
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
subdomains: ['a', 'b', 'c'], subdomains: const ['a', 'b', 'c'],
), ),
MarkerLayerOptions( MarkerLayer(
rotate: true, rotate: true,
markers: [ markers: [
Marker( Marker(

View File

@ -547,7 +547,7 @@ packages:
name: flutter_map name: flutter_map
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.2.0" version: "3.1.0"
flutter_math_fork: flutter_math_fork:
dependency: transitive dependency: transitive
description: description:
@ -1994,5 +1994,5 @@ packages:
source: hosted source: hosted
version: "3.1.0" version: "3.1.0"
sdks: sdks:
dart: ">=2.17.6 <3.0.0" dart: ">=2.18.0 <3.0.0"
flutter: ">=3.0.0" flutter: ">=3.3.0"

View File

@ -37,7 +37,7 @@ dependencies:
flutter_local_notifications: ^12.0.2 flutter_local_notifications: ^12.0.2
flutter_localizations: flutter_localizations:
sdk: flutter sdk: flutter
flutter_map: ^2.2.0 flutter_map: ^3.1.0
flutter_matrix_html: ^1.1.0 flutter_matrix_html: ^1.1.0
flutter_olm: ^1.2.0 flutter_olm: ^1.2.0
flutter_openssl_crypto: ^0.1.0 flutter_openssl_crypto: ^0.1.0