InfoBox官方文档
具体API可以参考文档,但官网的InfoBox源码有误,导致调用弹框的close事件不会关闭弹框。
用下面老版的js就可以了,主打一个开源精神
链接:https://pan.baidu.com/s/13HivY8VD94LyEaj5vYJIVA?pwd=scks
提取码:scks
百度地图自定义标注弹框 InfoBox
本文指出InfoBox官方文档中的API存在bug,关闭弹框功能失效。推荐使用老版本JS代码解决,强调了开源精神并提供了相关下载链接。
摘要由CSDN通过智能技术生成