markers :[{}] 中[换行接 {会存在编译不通过情况
markers:[ {
iconPath: “XXXX”,
id: 0,
latitude: 23.099994,
longitude: 113.324520,
width: 50,
height: 50
}
],
这种可以编辑
markers:[
{
iconPath: “http://imgcache.qq.com/bossweb/service/v7/images/qq_code.png”,
id: 0,
latitude: 23.099994,
longitude: 113.324520,
width: 50,
height: 50
}
],
这种不可以编译
什么情况?