From 10322545aafa703ef7ebe8db455c9c803536e2f3 Mon Sep 17 00:00:00 2001 From: Onuray Sahin Date: Wed, 20 Jul 2022 16:57:48 +0300 Subject: [PATCH] Move pin to center when clicked. --- .../location/live/map/LocationLiveMapViewFragment.kt | 9 ++++----- .../main/res/layout/fragment_location_live_map_view.xml | 5 +++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/location/live/map/LocationLiveMapViewFragment.kt b/vector/src/main/java/im/vector/app/features/location/live/map/LocationLiveMapViewFragment.kt index 869ce0d388..e19580f13b 100644 --- a/vector/src/main/java/im/vector/app/features/location/live/map/LocationLiveMapViewFragment.kt +++ b/vector/src/main/java/im/vector/app/features/location/live/map/LocationLiveMapViewFragment.kt @@ -45,6 +45,7 @@ import im.vector.app.core.platform.VectorBaseFragment import im.vector.app.core.utils.DimensionConverter import im.vector.app.core.utils.openLocation import im.vector.app.databinding.FragmentLocationLiveMapViewBinding +import im.vector.app.features.location.LocationData import im.vector.app.features.location.UrlMapProvider import im.vector.app.features.location.zoomToBounds import im.vector.app.features.location.zoomToLocation @@ -137,11 +138,9 @@ class LocationLiveMapViewFragment @Inject constructor() : VectorBaseFragment + android:layout_width="0dp" + android:layout_height="0dp" + android:layout_gravity="center"/>