BitmapDescriptorFactory.fromView() 在设置marker和InfoWindow时不显示
修改方案:
popupView = LayoutInflater.from(this).inflate(R.layout.layout_map_pop_cinema, null);
// 跟布局设置下LayoutParams
popupView.findViewById(R.id.rl_map_body).setLayoutParams(new ViewGroup.LayoutParams(
ViewGroup.LayoutParams.WRAP_CONTENT,
ViewGroup.LayoutParams.WRAP_CONTENT));
setLayoutParams内部会调用requestLayout();