Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import streamlit as st
|
|
2 |
import folium
|
3 |
import dask.dataframe as dd
|
4 |
from folium.plugins import MarkerCluster
|
|
|
5 |
import pandas as pd
|
6 |
|
7 |
# Top 10 locations for viewing Northern Lights in Iceland
|
@@ -50,7 +51,7 @@ lon = st.number_input("Enter longitude:", value=-19.0208, step=0.0001)
|
|
50 |
# Display the map
|
51 |
st.write("Northern Lights Viewing Locations in Iceland:")
|
52 |
folium_map = display_map(northern_lights_locations, lat, lon)
|
53 |
-
|
54 |
|
55 |
# Cite references
|
56 |
st.write(
|
|
|
2 |
import folium
|
3 |
import dask.dataframe as dd
|
4 |
from folium.plugins import MarkerCluster
|
5 |
+
from folium import folium_static
|
6 |
import pandas as pd
|
7 |
|
8 |
# Top 10 locations for viewing Northern Lights in Iceland
|
|
|
51 |
# Display the map
|
52 |
st.write("Northern Lights Viewing Locations in Iceland:")
|
53 |
folium_map = display_map(northern_lights_locations, lat, lon)
|
54 |
+
folium_static(folium_map)
|
55 |
|
56 |
# Cite references
|
57 |
st.write(
|