Disable touch for OSM maps in place settings

pull/1352/head
Alex Baker 5 years ago
parent 8f2805a416
commit 4bbd51f147

@ -77,7 +77,10 @@ class OsmMapFragment(private val context: Context) : MapFragment {
}
}
override fun disableGestures() = map.setMultiTouchControls(false)
@SuppressLint("ClickableViewAccessibility")
override fun disableGestures() {
map.setOnTouchListener { _, _ -> true }
}
@SuppressLint("MissingPermission")
override fun showMyLocation() {

Loading…
Cancel
Save