mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-10-11 10:18:42 +02:00
bunch of stuff, good luck. still need to fix user-by-mode thing
This commit is contained in:
1 parent
640903d954
commit
dca6cb7179
10 files changed
+174
-31
No files matched your search
@@ -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
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user