Spaces:
Sleeping
Sleeping
onfarmview
commited on
Commit
·
2f2ee27
1
Parent(s):
c975c5e
first time
Browse files
app.py
CHANGED
@@ -41,6 +41,35 @@ footer_content = """
|
|
41 |
"""
|
42 |
|
43 |
st.sidebar.markdown(footer_content, unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
# st.info("Click on the left sidebar menu to navigate to the different apps.")
|
46 |
|
|
|
41 |
"""
|
42 |
|
43 |
st.sidebar.markdown(footer_content, unsafe_allow_html=True)
|
44 |
+
histats_code = """
|
45 |
+
<!-- Histats.com (div with counter) -->
|
46 |
+
<div id="histats_counter"></div>
|
47 |
+
<!-- Histats.com START (aync)-->
|
48 |
+
<script type="text/javascript">
|
49 |
+
var _Hasync= _Hasync|| [];
|
50 |
+
_Hasync.push(['Histats.start', '1,4819636,4,29,115,60,00011111']);
|
51 |
+
_Hasync.push(['Histats.fasi', '1']);
|
52 |
+
_Hasync.push(['Histats.track_hits', '']);
|
53 |
+
(function() {
|
54 |
+
var hs = document.createElement('script'); hs.type = 'text/javascript'; hs.async = true;
|
55 |
+
hs.src = ('//s10.histats.com/js15_as.js');
|
56 |
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(hs);
|
57 |
+
})();
|
58 |
+
</script>
|
59 |
+
<noscript><a href="/" target="_blank"><img src="//sstatic1.histats.com/0.gif?4819636&101" alt="hit tracker" border="0"></a></noscript>
|
60 |
+
<!-- Histats.com END -->
|
61 |
+
"""
|
62 |
+
|
63 |
+
st.markdown(histats_code, unsafe_allow_html=True)
|
64 |
+
|
65 |
+
|
66 |
+
m = leafmap.Map()
|
67 |
+
m.center = [-40.9006, 174.8860] # Coordinates for New Zealand
|
68 |
+
m.zoom = 10
|
69 |
+
m.to_streamlit(height=700)
|
70 |
+
|
71 |
+
|
72 |
+
|
73 |
|
74 |
# st.info("Click on the left sidebar menu to navigate to the different apps.")
|
75 |
|