Move to initial zoom level when a user is focused.
This commit is contained in:
parent
7f821f1285
commit
372ff9ff97
@ -273,7 +273,7 @@ class LocationLiveMapViewFragment @Inject constructor() : VectorBaseFragment<Fra
|
|||||||
.find { it.matrixItem.id == userId }
|
.find { it.matrixItem.id == userId }
|
||||||
?.locationData
|
?.locationData
|
||||||
?.let { locationData ->
|
?.let { locationData ->
|
||||||
mapboxMap?.get()?.zoomToLocation(locationData, preserveCurrentZoomLevel = true)
|
mapboxMap?.get()?.zoomToLocation(locationData, preserveCurrentZoomLevel = false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user