输入
//展示兴趣点
__cy.poi.show({
id: ["xxxx","xxxx2"...], //点ID
}, callback)
//展示指定类型兴趣点
__cy.poi.show({
id:"xxx", //某种类型的点
}, callback)
//显示所有兴趣点
__cy.poi.showAll({},
callback)
//隐藏兴趣点
__cy.poi.hide({
id:["xxxx","xxxx2"...], //点ID
}, callback)
//隐藏指定类型兴趣点
__cy.poi.hide({
id: "xxx", //某种类型的点
},callback)
//隐藏所有兴趣点
__cy.poi.hideAll({},
callback)
callback 回调输出
{
result:"" //输出结果 成功:"ok", 失败 返回具体原因
}
参考效果图