Attempting to showcase a basic map in iPython using the Folium leaflet library. Recently installed iPython via Anaconda with Folium added through Pip. Verified that everything is fully updated
Ran this code in iPython
import folium
map = folium.Map(location=[48, -102], zoom_start=3)
map.create_map('map.html')
map
However, I am encountering a blank frame. Upon checking the console on the html file, I noticed multiple "Failed to load resource: net::ERR_FILE_NOT_FOUND
" errors pointing to an
Uncaught ReferenceError: L is not defined
. The leaflet reference in the html document appears as follows:
src="//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.js">
I suspect the issue lies with the relative link, but I have yet to find any information in the Folium documentation to help resolve this matter.
Thank you all for your assistance. I am eager to return the favor.