SharedMapWidget és térkép nézet refraktorálása

This commit is contained in:
2026-05-16 14:47:34 +02:00
parent f2457817b2
commit d50a324e44
11 changed files with 1167 additions and 1050 deletions
@@ -84,6 +84,9 @@ class _StakeoutPanel extends GetView<MapSurveyController> {
padding: const EdgeInsets.all(12),
child: Obx(() {
final onTarget = controller.isOnTarget;
final dy = controller.deltaY;
final dx = controller.deltaX;
final dist = controller.distanceToTarget;
return Column(
mainAxisSize: MainAxisSize.min,
children: [
@@ -108,17 +111,17 @@ class _StakeoutPanel extends GetView<MapSurveyController> {
children: [
_DeltaCell(
label: 'ΔY',
value: controller.deltaY,
value: dy,
unit: 'm',
),
_DeltaCell(
label: 'ΔX',
value: controller.deltaX,
value: dx,
unit: 'm',
),
_DeltaCell(
label: 'Táv',
value: controller.distanceToTarget,
value: dist,
unit: 'm',
alwaysPositive: true,
),