User may request location before map is loaded

pull/1369/head
Alex Baker 5 years ago
parent 5e604a25ce
commit d2a44d9fab

@ -75,7 +75,7 @@ class GoogleMapFragment(private val context: Context) : MapFragment, OnMapReadyC
@SuppressLint("MissingPermission")
override fun showMyLocation() {
map!!.isMyLocationEnabled = true
map?.isMyLocationEnabled = true
}
override fun onMapReady(googleMap: GoogleMap) {

Loading…
Cancel
Save