jordancaraballo commited on
Commit
2d3c1cb
·
1 Parent(s): 4052a3d

Removing jupyter information

Browse files
Files changed (1) hide show
  1. pages/1_⚡_Alaska_Lightning.py +4 -9
pages/1_⚡_Alaska_Lightning.py CHANGED
@@ -1,11 +1,5 @@
1
  import os
2
-
3
- os.environ['LOCALTILESERVER_CLIENT_PREFIX'] = 'proxy/{port}'
4
-
5
  import leafmap as leafmap_api
6
-
7
- print(leafmap_api.__version__)
8
-
9
  import streamlit as st
10
  import leafmap.foliumap as leafmap
11
  from glob import glob
@@ -65,7 +59,8 @@ m = leafmap.Map(
65
  locate_control=True, latlon_control=True,
66
  draw_export=True, minimap_control=True,
67
  center=[30, -40],
68
- zoom=13
 
69
 
70
  )
71
  m.add_basemap("OpenTopoMap")
@@ -79,7 +74,7 @@ with col1:
79
  # #filename='d02_2016-06-01_00-00-00_0-warp-lightning-clipped.tif'
80
  # #allow_patterns=["*.tif"]
81
  #)
82
-
83
  m.add_raster(
84
  current_forecast_date,
85
  bands=[1],
@@ -91,4 +86,4 @@ with col1:
91
 
92
  # folium does not support this
93
  # m.add_time_slider(layers_dict, time_interval=1)
94
- m.to_streamlit(height=700, bidirectional=True)
 
1
  import os
 
 
 
2
  import leafmap as leafmap_api
 
 
 
3
  import streamlit as st
4
  import leafmap.foliumap as leafmap
5
  from glob import glob
 
59
  locate_control=True, latlon_control=True,
60
  draw_export=True, minimap_control=True,
61
  center=[30, -40],
62
+ zoom=13,
63
+ google_map='terrain'
64
 
65
  )
66
  m.add_basemap("OpenTopoMap")
 
74
  # #filename='d02_2016-06-01_00-00-00_0-warp-lightning-clipped.tif'
75
  # #allow_patterns=["*.tif"]
76
  #)
77
+ print(current_forecast_date)
78
  m.add_raster(
79
  current_forecast_date,
80
  bands=[1],
 
86
 
87
  # folium does not support this
88
  # m.add_time_slider(layers_dict, time_interval=1)
89
+ m.to_streamlit(height=700)