- Standortbestimmungfunktionalität hinzugefügt

This commit is contained in:
2025-12-20 11:22:12 +01:00
parent 2f781abcc2
commit e7f0ef03ad
3 changed files with 118 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ import com.example.snapandsolve.camera.Intent
import com.example.snapandsolve.ui.theme.AppColor
import com.example.snapandsolve.ui.theme.ButtonColor
import com.example.snapandsolve.ui.theme.WidgetColor
import com.example.snapandsolve.ui.theme.setupLocationDisplay
import kotlinx.coroutines.Dispatchers
@@ -141,11 +142,15 @@ fun ContentScreen(
createMap() //Funktion zur Erstellung der Map
}
//Standortbestimmung aus locationHelper.kt
val locationDisplay = setupLocationDisplay()
Box(modifier = modifier.fillMaxSize()) {
// HINTERGRUND: Die Map
MapView(
modifier = Modifier.fillMaxSize(),
arcGISMap = map
arcGISMap = map,
locationDisplay = locationDisplay
)
// VORDERGRUND: Das Overlay (wenn showReport = true)