callout都没有显示自定气泡框 后面才知道 完全没有生效 callout 里的这个对象属性
marker: [
{
id: 0,
latitude: 34.79977, //纬度
longitude: 113.66072, //经度
iconPath: '/static/home/Path.png', //显示的图标
rotate: 0, // 旋转度数
width: 20, //宽
height: 20, //高
// title: '', //标注点名
alpha: 0.5, //透明度
callout: {
//自定义标记点上方的气泡窗口 点击有效
content: '', //文本
color: '#ffffff', //文字颜色
fontSize: 15, //文本大小
borderRadius: 15, //边框圆角
padding: '10',
bgColor: '#406390', //背景颜色
display: 'ALWAYS' //常显
}
}
],