原画线方式: //存储大量点轨迹json数组:historyPathList for(var i=0;i<historyPathList.length-1;i++){ drawColorLine(i,color,4,historyPathList); } //显示原始路线 function drawColorLine(i,color,weitht,list){ var polyline = new BMap.Polyline([ new BMap.Point(list[i].Lng,list[i…
1.前言 静态页面 加载 <script type="module" > 报CORS 跨域错误,提示Access to script at ftp:///xxx.js from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, ch…