Navigációs fejlesztések, kitűzési fejlesztések
This commit is contained in:
@@ -28,7 +28,7 @@ class NavigationView extends GetView<NavigationViewController> {
|
||||
children: [
|
||||
Text('Navigáció'),
|
||||
Text(
|
||||
"Mérés: Budapest-4",
|
||||
"Mérés: Zalaegerszeg",
|
||||
style: TextStyle(fontSize: 12.0),
|
||||
)
|
||||
],
|
||||
@@ -84,6 +84,16 @@ class NavigationView extends GetView<NavigationViewController> {
|
||||
const Icon(Icons.file_open, size: 26.0, color: Colors.blue),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: 20.0),
|
||||
child: GestureDetector(
|
||||
onTap: () {
|
||||
controller.ReadPathFromFile();
|
||||
},
|
||||
child: const Icon(Icons.line_weight_rounded,
|
||||
size: 26.0, color: Colors.blue),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: 20.0),
|
||||
child: GestureDetector(
|
||||
@@ -243,12 +253,13 @@ class NavigationView extends GetView<NavigationViewController> {
|
||||
MarkerLayer(
|
||||
markers: controller.currentLocationMarker),
|
||||
MarkerLayer(markers: controller.parser.markers),
|
||||
PolylineLayer(polylines: controller.pathLayer),
|
||||
MarkerLayer(
|
||||
markers: controller.pointsToMeasureMarker),
|
||||
// PolylineLayer(
|
||||
// polylines: controller.parser.polylines),
|
||||
PolyWidgetLayer(
|
||||
polyWidgets: controller.pointsToMeasureLabel)
|
||||
polyWidgets: controller.pointsToMeasureLabel),
|
||||
],
|
||||
)
|
||||
: const Center(child: CircularProgressIndicator()),
|
||||
|
||||
Reference in New Issue
Block a user