Try to implement OnMarkerClickListner
and override onMarkerClick
method.
Hava a look at this
문제
I need to know if user touch the marker.
Any idea? I hope that somebody help me.
해결책
Try to implement OnMarkerClickListner
and override onMarkerClick
method.
Hava a look at this
다른 팁
Put this code below inside onMapReady(GoogleMap googleMap){..}
mMap = googleMap;
mMap.setOnMarkerClickListener(new GoogleMap.OnMarkerClickListener() {
@Override
public boolean onMarkerClick(Marker marker) {
Log.e("Testing",marker.getTitle());
return false;
}
});