map组件怎么设置让其中一个marker不参与碰撞? 如下代码,让B点和C点参与碰撞, A点不参与
this.mapCtx.addMarkers({
markers: [{
id: 6755555567,
zIndex: 100001,
latitude: 34.210412,
longitude: 108.963814,
iconPath: '../../image/my_location.png',
label: { content: 'A点'},
width: 60,
height: 60,
},{
id: 6755555563,
zIndex: 100000,
latitude: 34.210422,
longitude: 108.964814,
iconPath: '../../image/my_location.png',
label: { content: 'B点'},
collision: 'marker',
collisionRelation: 'together',
width: 60,
height: 60,
},{
id: 6755555561,
zIndex: 9999,
latitude: 34.211422,
longitude: 108.965814,
iconPath: '../../image/my_location.png',
label: { content: 'C点'},
collision: 'marker',
collisionRelation: 'together',
width: 60,
height: 60,
}]
})
啥叫碰撞,你截图个效果图出来看下,看描述也不知道你具体是要实现的个啥效果