Put version reported to OSM into dev_config

This commit is contained in:
stopflock
2025-08-16 19:53:47 -05:00
parent 9375f48a07
commit e293727ec8
2 changed files with 5 additions and 1 deletions

View File

@@ -13,6 +13,10 @@ const double kDirectionConeBaseLength = 0.0012; // multiplier
// Add Camera pin vertical offset (for pin tip to match coordinate on map)
const double kAddPinYOffset = -16.0;
// Client name and version for OSM uploads ("created_by" tag)
const String kClientName = 'FlockMap';
const String kClientVersion = '0.8.1';
// Marker/camera interaction
const int kCameraMinZoomLevel = 10; // Minimum zoom to show cameras or warning
const Duration kMarkerTapTimeout = Duration(milliseconds: 250);

View File

@@ -20,7 +20,7 @@ class Uploader {
final csXml = '''
<osm>
<changeset>
<tag k="created_by" v="FlockMap 0.5"/>
<tag k="created_by" v="$kClientName $kClientVersion"/>
<tag k="comment" v="Add surveillance camera"/>
</changeset>
</osm>''';