title: Jetpack Compose: How to click on Maker in Google Maps?
body: <p>I use <a href="https://github.com/googlemaps/android-maps-compose" rel="nofollow noreferrer">official</a> Google Maps Compose lib and I can't understand...how implement click on the marker?</p>
  <pre class="lang-kotlin prettyprint-override"><code>@Composable
  fun MapContent(city: City)  {
      val pos = LatLng(city.latitude, city.longitude)
      val cameraPositionState = rememberCameraPositionState {
          position = CameraPosition.fromLatLngZoom(pos, 12f)
      }
      val mapState = rememberMarkerState(position = pos)
      
      GoogleMap(
          modifier = Modifier.fillMaxSize(),
          cameraPositionState = cameraPositionState,
          uiSettings = MapUiSettings(zoomControlsEnabled = false)
      ) {
          Marker(
              state = mapState,
              onClick = {
                  Timber.tag(&quot;GoogleMapClick&quot;).d(&quot;click!!!&quot;)
                  false
              }
          )
      }
  }
  </code></pre>
  <p>It doesn't work. Can you help me, what's wrong? I want to click on the marker and show BottomSheet with City info, but it looks like onClick doesn't work...</p>
  <pre><code>implementation 'com.google.maps.android:maps-compose:2.5.3'
  implementation 'com.google.android.gms:play-services-maps:18.1.0'
  </code></pre>