1

thanks to the method SetOnInfoWindowClickListener, i put a Listener on my GoogleMap, then I want to manage with " On Info Window Click " the opening of a new activity diffent for each marker of my Google Map. My problem is that the method can manage only 1 marker for all my GoogleMap instead of manage different Marker.

There the code :

public void onInfoWindowClick(Marker marker) {
           Intent intent = new Intent(MapActivity.this,OtherActivity.class);
           startActivity(intent);

}

Anyone have an answer for this issue ?

Thanks.

Peter
  • 83
  • 1
  • 1
  • 10

0 Answers0