自定义点的删除 方法一:使用相关函数 setMap(null) 将marker替换为空 官方文档: //清楚指定点 function clearMarker() { markers[0].setMap(null); markers[