|
drawLine(10000, '#100afc', nodes, 10, 3);
drawLine(20000, '#50b307', coords, 10, 3);
function drawLine(id, color, dots, android, ios){
var width = android;
if(api.systemType == 'ios')
width = ios;
bMap.addLine({
id: id,
styles: {
type: 'arrow',
lineDash: false,
borderColor: color,
borderWidth: width
},
points: dots
});
} |
|