Kapcsolat hozzáadása koordinátával a terepbejárás térképen.
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
This commit is contained in:
@@ -64,6 +64,10 @@ class MapSurveyView extends GetView<MapSurveyController> {
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (controller.activeEditTool.value == MapEditTool.contact) {
|
||||
controller.saveContactAtPoint(point);
|
||||
return;
|
||||
}
|
||||
if (controller.activeEditTool.value == MapEditTool.line ||
|
||||
controller.activeEditTool.value == MapEditTool.polygon) {
|
||||
controller.polygonEditorController.addPoint(point);
|
||||
@@ -142,6 +146,13 @@ class MapSurveyView extends GetView<MapSurveyController> {
|
||||
|
||||
return MarkerLayer(markers: [...controller.pointNotes]);
|
||||
}),
|
||||
Obx(() {
|
||||
// Kapcsolatok - terepi bejárás
|
||||
if (controller.mode.value != MapSurveyMode.fieldWalk) {
|
||||
return const SizedBox.shrink();
|
||||
}
|
||||
return MarkerLayer(markers: [...controller.contactMarkers]);
|
||||
}),
|
||||
Obx(() {
|
||||
// Vonalak - terepbejárás
|
||||
if (controller.mode.value != MapSurveyMode.fieldWalk) {
|
||||
|
||||
Reference in New Issue
Block a user