Update flutter_map package and dependencies, remove flutter_map_geojson

This commit is contained in:
2025-10-05 10:41:07 +02:00
parent 1293176f89
commit cb94aa042a
7 changed files with 22 additions and 22 deletions
@@ -9,7 +9,7 @@ import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_bluetooth_serial/flutter_bluetooth_serial.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:flutter_map_geojson/flutter_map_geojson.dart';
// import 'package:flutter_map_geojson/flutter_map_geojson.dart';
import 'package:flutter_map_polywidget/flutter_map_polywidget.dart';
import 'package:get/get.dart';
import 'package:intl/intl.dart';
@@ -123,8 +123,8 @@ class MapSurveyController extends GetxController {
late proj4.Projection eovProj, wgsProj;
RxBool mapIsInitialized = false.obs;
GeoJsonParser parser =
GeoJsonParser(defaultMarkerColor: const Color.fromARGB(255, 85, 34, 49));
// GeoJsonParser parser =
// GeoJsonParser(defaultMarkerColor: const Color.fromARGB(255, 85, 34, 49));
final CollectionReference _measuredPoints =
FirebaseFirestore.instance.collection('measuredPoints');
@@ -215,7 +215,7 @@ class MapSurveyView extends GetView<MapSurveyController> {
),
MarkerLayer(
markers: controller.currentLocationMarker),
MarkerLayer(markers: controller.parser.markers),
// MarkerLayer(markers: controller.parser.markers),
MarkerLayer(
markers: controller.pointsToMeasureMarker),
// PolylineLayer(