How to implement folium with leaflet js from IDE?

المشرف العام

Administrator
طاقم الإدارة
I am testing the examples that are provided on GitHub. All of my dependenicies are installed and the code runs without errors, but I am obviously missing something as all I have is a .py file. Where is the map actually displayed and how?

Edit: Figured this out; I didn't realize that map_osm.create_map creates an html file

https://github.com/python-visualization/folium

import foliummap_osm = folium.Map(location=[45.5236, -122.6750])map_osm.create_map(path='osm.html')

أكثر...
 
أعلى