var smallMap : GoogleMap?= null
val fragment = childFragmentManager.findFragmentById(R.id.map) as SupportMapFragment
fragment.getMapAsync(onSmallMapReadyCallback)
val onSmallMapReadyCallback = object : OnMapReadyCallback {
override fun onMapReady(googleMap: GoogleMap?) {
smallMap = googleMap
val location = getCurrentLocation()
if (location != null){
latLng = LatLng(location!!.latitude, location!!.longitude)
val markerOptions = MarkerOptions()
markerOptions.position(latLng)
smallMap!!.addMarker(markerOptions)
smallMap!!.moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, 14f))
}
}
}