/* 百度地图API V2 模块 * 此模块必须配套使用baidumap_offline_v2_20160822.js对 * 获取模块的方法: * http://api0.map.bdimg.com/getmodules?v=2.0&mod=模块1,模块2 * 模块名称就是文件名 * www.xiaoguo123.com 整理 */ _jsload2&&_jsload2('drawbycanvas', 'function qg(a){this.C=a;this.nQ={strokeweight:"lineWidth",strokecolor:"strokeStyle",fillcolor:"fillStyle",strokeopacity:"globalAlpha",fillopacity:"globalAlpha"};this.Lb="canvas"}qg.prototype=new z.Xy;var rg=qg.prototype;rg.wo=function(){if(!this.canvas||this.canvas&&!yb(this.canvas)){var a=this.canvas=K("canvas");this.C.Qf().ot.appendChild(a);a.style.position="absolute";a=a.getContext("2d");a.lineCap="round";a.lineJoin="round";a.save();this.$T(this.canvas)}return this.canvas}; rg.ge=function(a,b,c){if(a&&0!==b[0].length){var d=a.getContext("2d");this.sa(a);var e=parseInt(a.style.top),f=parseInt(a.style.left);d.beginPath();x.jc.Fb(b,function(a){if(0!==a.length){d.moveTo(a[0].x-f,a[0].y-e);for(var b=1,c=a.length;b=i&&a.lineTo(n,u);a.lineTo(tailX,tailY);a.moveTo(startX,startY);D=0;for(E=2*C;D(v-startX)*xMove)break;a.lineTo(startX, startY)}a.stroke()}var i=parseInt(m-k*C)-f,D=v-Math.abs(i)*(v-n)/m,E=w-Math.abs(i)*(w-u)/m;l===g-1&&0