bunch of stuff, good luck. still need to fix user-by-mode thing

This commit is contained in:
stopflock committed 2025-08-06 12:24:32 -05:00
1 parent 640903d954
commit dca6cb7179
10 files changed
+174 -31

No files matched your search

+4
View File
@@ -20,9 +20,13 @@ class _ProfileEditorState extends State<ProfileEditor> {
static const _defaultTags = [
MapEntry('man_made', 'surveillance'),
MapEntry('surveillance', 'public'),
MapEntry('surveillance:zone', 'traffic'),
MapEntry('surveillance:type', 'ALPR'),
MapEntry('camera:type', 'fixed'),
MapEntry('camera:mount', ''),
MapEntry('manufacturer', ''),
MapEntry('manufacturer:wikidata', ''),
];
@override
+14 -1
View File
@@ -178,7 +178,20 @@ class SettingsScreen extends StatelessWidget {
case UploadMode.production:
return const Text('Upload to the live OSM database (visible to all users)', style: TextStyle(fontSize: 12, color: Colors.black87));
case UploadMode.sandbox:
return const Text('Upload to the OSM Sandbox (safe for testing, data resets regularly)', style: TextStyle(fontSize: 12, color: Colors.orange));
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const Text(
'Uploads go to the OSM Sandbox (safe for testing, resets regularly).',
style: TextStyle(fontSize: 12, color: Colors.orange),
),
SizedBox(height: 2),
Text(
'NOTE: Due to OpenStreetMap limitations, cameras submitted to the sandbox will NOT appear on the map in this app.',
style: TextStyle(fontSize: 11, color: Colors.redAccent),
),
],
);
case UploadMode.simulate:
default:
return const Text('Simulate uploads (does not contact OSM servers)', style: TextStyle(fontSize: 12, color: Colors.deepPurple));