我想用folium在地图上定位机场。我有一份机场坐标表。但当我把文件保存为'地图.html,没有输出。你知道吗
数据帧“文件”包含机场信息:
file.columns=['name','longitude','latitude']
latlong= [(i,j) for i in file['longitude'] for j in file['latitude']]
mapit = folium.Map( location=[1.3521, 103.8198], zoom_start=6 )
for coord in latlong:
mapit = folium.Map(location = [coord[0],coord[1]])
mapit.save('map.html')
目前没有回答
相关问题 更多 >
编程相关推荐