enableMapClick: false,没有生效,求大神回答
配置项如下
var hotoption = {
animation: false,
bmap: {
center: [123.691575,41.956937],
zoom: 14,
roam: false,
enableMapClick: false,
mapStyle:{
styleJson: [
{
'featureType': 'building', //调整建筑物标签是否可视
'elementType': 'labels',
'stylers': {
'visibility': 'off'
}
}]
}
},
visualMap: {
show: false,
top: 'top',
min: 0,
max: 5,
seriesIndex: 0,
calculable: true,
splitNumber: 5,
inRange: {
color: ['blue', 'blue', 'green', 'yellow', 'red']
}
},
series: [{
type: 'heatmap',
coordinateSystem: 'bmap',
//map:"吉林",
data: points,
pointSize: 9,
blurSize: 26
}]
};