我想绘制从不同来源到不同目的地的路径。我有所有的开始和结束位置,但不知道为什么有些路径是准确绘制的,有些是偏离轨道的。
我从这个URI获取图片:我从这个URI获取图片:“http://maps.google.com/maps/api/staticmap?center=31.5521479,74.2795505&zoom=14&size=400x330&path=color:0x0000ff80|weight:5|31.5521479,74.2795505|31.5522324,74.2754122|31.5522324,74.2754122|31.5501177,74.2754083|31.5501177,74.2754083|31.5511665,74.2705363|31.5511665,74.2705363|31.5388245,74.2648314|31.5388245,74.2648314|31.4684959,74.2276782|31.4684959,74.2276782|31.4695281,74.2345655|31.4695281,74.2345655|31.4730443,74.2493176|31.4730443,74.2493176|31.4800704,74.2786811|31.4800704,74.2786811|31.4808300,74.2807995|31.4808300,74.2807995|31.4684399,74.2671173|31.4684399,74.2671173|31.4672701,74.2675231|31.4672701,74.2675231|31.4673295,74.2677900+&sensor=true&maptype=roadmap”