diff --git a/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/MerchantsFragment.kt b/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/MerchantsFragment.kt index 7ec0db0..5d31ee3 100644 --- a/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/MerchantsFragment.kt +++ b/app/src/main/java/cy/agorise/bitsybitshareswallet/fragments/MerchantsFragment.kt @@ -299,13 +299,8 @@ class MerchantsFragment : Fragment(), OnMapReadyCallback, SearchView.OnSuggestio cursor?.close() if (lat != null && lon != null) { - val builder = LatLngBounds.builder() - builder.include(LatLng(lat, lon)) - - val bounds = builder.build() - try { - mMap.animateCamera(CameraUpdateFactory.newLatLngBounds(bounds, 100)) + mMap.animateCamera(CameraUpdateFactory.newLatLngZoom(LatLng(lat, lon), 15f)) } catch (e: Exception) { Log.d(TAG, e.message) }