Terepbejárás: rögzített geometriai rétegek láthatóságának ki- és bekapcsolása

This commit is contained in:
2026-07-04 17:13:47 +02:00
parent f130f583ba
commit 968b9d8b10
3 changed files with 173 additions and 15 deletions
@@ -126,25 +126,31 @@ class MapSurveyView extends GetView<MapSurveyController> {
return MarkerLayer(markers: controller.pointNotesMarker.toList());
}),
Obx(() {
// Pontok - terepi bejárás
if (controller.mode.value != MapSurveyMode.fieldWalk) {
return const SizedBox.shrink();
}
if (!controller.showPoints.value) return const SizedBox.shrink();
return MarkerLayer(markers: [...controller.pointNotes]);
}),
Obx(() {
// Vonalak - terepbejárás
if (controller.mode.value != MapSurveyMode.fieldWalk) {
return const SizedBox.shrink();
}
if (!controller.showLines.value) return const SizedBox.shrink();
return PolylineLayer(
hitNotifier: controller.polylineHitNotifier,
polylines: [...controller.polylineNotes]);
}),
Obx(() {
// Poligonok - terepbejárás
if (controller.mode.value != MapSurveyMode.fieldWalk) {
return const SizedBox.shrink();
}
if (!controller.showPolygons.value) return const SizedBox.shrink();
return PolygonLayer(
hitNotifier: controller.polygonHitNotifier,