5
我Jupyter笔记本Server上运行大青叶0.2.1' 与Python 4.2.1 2.7.11是否可以在Folium地图中绘制带箭头的线条?
我试图在地图上绘制线条,它有一个箭头,传达方向
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)