//添加海量点数据-------------------------------------------------------------------
var points = [];
for(var i = 0; i < 100; i++) {
var point = new BMap.Point( 104.125546+i*0.005,30.602393+i*0.005);
points.push(point);
}
var options = {
size: BMAP_POINT_SIZE_SMALLER,
shape: BMAP_POINT_SHAPE_CIRCLE,
color: 'red'
}
var pointCollection = new BMap.PointCollection(points, options);
map.addOverlay(pointCollection);
点的形状,大小,颜色均可调,如下: