Terepbejárás: rögzített geometriai rétegek láthatóságának ki- és bekapcsolása
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user