- 当前 Bug 的表现(可附上截图)
marker点的bindmarkertap 不生效
- 预期表现
事件响应
- 复现路径
- 提供一个最简复现 Demo
<map id=“map” longitude="{{longitude}}" latitude="{{latitude}}" markers="{{markers}}" include-points="{{markers}}" bindmarkertap=“markertap” style=“width: 100%; height:{{mapHeight}};”>
</map>
longitude: 112.562204,
latitude: 37.807787,
markers: [{
“callout”: { content: “太原市小店区太榆路学府街口”, color: “#ffffff”, fontSize: “16”, borderRadius: “10”, bgColor: “#1b1d28” },
“height”: 15,
“iconPath”: “…/…/static/image/index/oil.png”,
“latitude”: 37.807787,
“longitude”: 112.562204,
“width”: 15
}],//标记点
markertap: function (e) {
console.log(e)
},