为了实现marker的隐藏可以调用setAlpha方法,当透明度为0时就是隐藏效果 setAlpha public void setAlpha(float alpha) 设置Marker覆盖物的透明度 参数: alpha - 透明度范围[0,1] 1为不透明