first version worth putting in git - compiles and runs - missing a lot still.

This commit is contained in:
stopflock
2025-07-18 14:25:22 -05:00
parent bd0898c5e4
commit eee92f4f21
71 changed files with 2728 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
import 'package:latlong2/latlong.dart';
class OsmCameraNode {
final int id;
final LatLng coord;
final Map<String, String> tags;
OsmCameraNode({
required this.id,
required this.coord,
required this.tags,
});
bool get hasDirection => tags.containsKey('direction');
double? get directionDeg =>
hasDirection ? double.tryParse(tags['direction']!) : null;
}