fix(mobile): upgrade maplibre_gl package to fix issue with crash in ios7.4 above simulator (#10182)

* fix(mobile): upgrade maplibre_gl package to fix issue with crash in ios7.4 above simulator

* chore: switch from deprecated widget and controller name to new name in latest sdk

* remove todo

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Muhideen Mujeeb Adeoye 2024-06-17 23:27:54 +01:00 committed by GitHub
parent c1a5ed3526
commit 99c6fdbc1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 39 additions and 46 deletions

View file

@ -6,7 +6,7 @@ import 'package:immich_mobile/models/map/map_marker.model.dart';
import 'package:immich_mobile/utils/map_utils.dart';
import 'package:maplibre_gl/maplibre_gl.dart';
extension MapMarkers on MaplibreMapController {
extension MapMarkers on MapLibreMapController {
static var _completer = Completer()..complete();
Future<void> addGeoJSONSourceForMarkers(List<MapMarker> markers) async {