tap camera to see all tags, persistent settings

This commit is contained in:
stopflock
2025-08-05 18:09:58 -05:00
parent dcdff6abbd
commit faa40c6404
3 changed files with 101 additions and 3 deletions
+11 -1
View File
@@ -13,6 +13,7 @@ import '../app_state.dart';
import '../services/overpass_service.dart';
import '../models/osm_camera_node.dart';
import 'debouncer.dart';
import 'camera_tag_sheet.dart';
class MapView extends StatefulWidget {
const MapView({
@@ -123,7 +124,16 @@ class _MapViewState extends State<MapView> {
point: n.coord,
width: 24,
height: 24,
child: const Icon(Icons.videocam, color: Colors.orange),
child: GestureDetector(
onTap: () {
showModalBottomSheet(
context: context,
builder: (_) => CameraTagSheet(node: n),
showDragHandle: true, // for better UX on Material3
);
},
child: const Icon(Icons.videocam, color: Colors.orange),
),
),
),
];