Loading play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/GoogleMap.kt +4 −4 Original line number Diff line number Diff line Loading @@ -172,6 +172,7 @@ class GoogleMapImpl(private val context: Context, var options: GoogleMapOptions) override fun getCameraPosition(): CameraPosition = map?.cameraPosition?.toGms() ?: CameraPosition(LatLng(0.0, 0.0), 0f, 0f, 0f) override fun getMaxZoomLevel(): Float = (map?.maxZoomLevel?.toFloat() ?: 20f) + 1f override fun getMinZoomLevel(): Float = (map?.minZoomLevel?.toFloat() ?: 0f) + 1f Loading Loading @@ -200,7 +201,6 @@ class GoogleMapImpl(private val context: Context, var options: GoogleMapOptions) fun afterInitialize(runnable: (MapboxMap) -> Unit) { synchronized(mapLock) { if (initialized) { assert(map != null) runnable(map!!) } else { initializedCallbackList.add(OnMapReadyCallback { Loading play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/UiSettings.kt +1 −2 Original line number Diff line number Diff line Loading @@ -162,8 +162,7 @@ class UiSettingsCache : AbstractUiSettings() { isTiltGesturesEnabled = gestures isZoomGesturesEnabled = gestures //setDoubleTapGesturesEnabled(gestures) //setQuickZoomGesturesEnabled(gestures) // Other gestures toggles double tap and quick zoom gestures otherGestures = gestures } Loading Loading
play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/GoogleMap.kt +4 −4 Original line number Diff line number Diff line Loading @@ -172,6 +172,7 @@ class GoogleMapImpl(private val context: Context, var options: GoogleMapOptions) override fun getCameraPosition(): CameraPosition = map?.cameraPosition?.toGms() ?: CameraPosition(LatLng(0.0, 0.0), 0f, 0f, 0f) override fun getMaxZoomLevel(): Float = (map?.maxZoomLevel?.toFloat() ?: 20f) + 1f override fun getMinZoomLevel(): Float = (map?.minZoomLevel?.toFloat() ?: 0f) + 1f Loading Loading @@ -200,7 +201,6 @@ class GoogleMapImpl(private val context: Context, var options: GoogleMapOptions) fun afterInitialize(runnable: (MapboxMap) -> Unit) { synchronized(mapLock) { if (initialized) { assert(map != null) runnable(map!!) } else { initializedCallbackList.add(OnMapReadyCallback { Loading
play-services-maps-core-mapbox/src/main/kotlin/org/microg/gms/maps/mapbox/UiSettings.kt +1 −2 Original line number Diff line number Diff line Loading @@ -162,8 +162,7 @@ class UiSettingsCache : AbstractUiSettings() { isTiltGesturesEnabled = gestures isZoomGesturesEnabled = gestures //setDoubleTapGesturesEnabled(gestures) //setQuickZoomGesturesEnabled(gestures) // Other gestures toggles double tap and quick zoom gestures otherGestures = gestures } Loading