I want to make the info Window opened on a marker to stay opened even when another marker is pointed on google map. here's my code.
private void drawMarker(LatLng point, String pLoc){
// Creating an instance of MarkerOptions
MarkerOptions markerOptions = new MarkerOptions().icon(BitmapDescriptorFactory.fromResource(R.drawable.map_pin_green));
// Setting latitude and longitude for the marker
markerOptions.position(point);
markerOptions.title(pLoc);
// Adding the marker to the map
m_cGoogleMap.addMarker(markerOptions).showInfoWindow();
m_cGoogleMap.setInfoWindowAdapter(new MarkerInfoWindowAdapter(null));
}
I'm calling this simple method to add multiple markers. using the showInfoWindow()
method just opens the info Window for the current marker, But I want the info Window to stay opened for current and previous markers(Multiple) all time.
Please help me out!!
Thank you.