This commit is contained in:
PoliEcho 2026-01-28 22:34:09 +01:00
parent 4263a7eff0
commit 67fea51949
2 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ fun startGTFSTracking(url: String, api_key: String, callee: Activity) {
}} }}
} }
GTFSMainHandler.post { GTFSMainHandler.post {
Toast.makeText(callee, "Done drawing stops", Toast.LENGTH_SHORT).show()} Toast.makeText(callee, "Done drawing ${gtfsStops.features.size} stops", Toast.LENGTH_SHORT).show()}
} catch(e: Exception) { } catch(e: Exception) {
GTFSMainHandler.post { GTFSMainHandler.post {

View File

@ -396,7 +396,7 @@ fun OpenStreetMapScreen(context: Context? = null) {
val normalizedY = latitudeToYNormalized(50.0755) val normalizedY = latitudeToYNormalized(50.0755)
// Use a higher scale to zoom in more (closer to 1.0 = more zoomed in) // Use a higher scale to zoom in more (closer to 1.0 = more zoomed in)
mapState.scrollTo(normalizedX, normalizedY, destScale = 0.8) mapState.scrollTo(normalizedX, normalizedY, destScale = 0.1)
} }
// Display the map // Display the map