mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-08-31 23:21:13 +02:00
highlight selected node
This commit is contained in:
@@ -35,12 +35,14 @@ class MapView extends StatefulWidget {
|
||||
required this.followMeMode,
|
||||
required this.onUserGesture,
|
||||
this.sheetHeight = 0.0,
|
||||
this.selectedNodeId,
|
||||
this.onNodeTap,
|
||||
});
|
||||
|
||||
final FollowMeMode followMeMode;
|
||||
final VoidCallback onUserGesture;
|
||||
final double sheetHeight;
|
||||
final int? selectedNodeId;
|
||||
final void Function(OsmNode)? onNodeTap;
|
||||
|
||||
@override
|
||||
@@ -330,6 +332,7 @@ class MapViewState extends State<MapView> {
|
||||
cameras: cameras,
|
||||
mapController: _controller.mapController,
|
||||
userLocation: _gpsController.currentLocation,
|
||||
selectedNodeId: widget.selectedNodeId,
|
||||
onNodeTap: widget.onNodeTap,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user