- Standortbestimmungfunktionalität hinzugefügt
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user