我在Jupyter Notebook Server 4.2.1上运行Folium 0.2.1' 和Python 2.7.11。
我正试图在地图上绘制线条,这些线条有一个箭头来表达方向。
import folium
#DFW, LGA coordinates
coordinates=[(32.900908, -97.040335),(40.768571, -73.861603)]
m = folium.Map(location=[32.900908, -97.040335], zoom_start=4)
#line going from dfw to lga
aline=folium.PolyLine(locations=coordinates,weight=2,color = 'blue')
m.add_children(aline)
有没有办法在线条上添加一个箭头?