Crime-Map / app.py
Yunus Serhat Bıçakçı
update
b0e4312
raw
history blame
1.93 kB
import streamlit as st
import leafmap.foliumap as leafmap
st.set_page_config(layout="wide")
st.sidebar.info(
"""
- Web App URL: <https://huggingface.co/spaces/yunusserhat/Crime-Map>
- HuggingFace repository: <https://huggingface.co/spaces/yunusserhat/Crime-Map/tree/main>
"""
)
st.sidebar.title("Contact")
st.sidebar.info(
"""
Yunus Serhat Bıçakçı at [yunusserhat.com](https://yunusserhat.com) | [GitHub](https://github.com/yunusserhat) | [Twitter](https://twitter.com/yunusserhat) | [LinkedIn](https://www.linkedin.com/in/yunusserhat)
"""
)
st.title("Interactive Crime Map Application")
st.markdown(
"""
This multi-page web app demonstrates various interactive web apps created using [streamlit](https://streamlit.io) and open-source mapping libraries,
such as [leafmap](https://leafmap.org), [geemap](https://geemap.org), [pydeck](https://deckgl.readthedocs.io), and [kepler.gl](https://docs.kepler.gl/docs/keplergl-jupyter).
This is an open-source project and you are very welcome to contribute your comments, questions, resources, and apps as [issues](https://github.com/giswqs/streamlit-geospatial/issues) or
[pull requests](https://github.com/giswqs/streamlit-geospatial/pulls) to the [GitHub repository](https://github.com/giswqs/streamlit-geospatial).
"""
)
st.info("Click on the left sidebar menu to navigate to the different apps.")
st.subheader("Timelapse of Satellite Imagery")
st.markdown(
"""
The following timelapse animations were created using the Timelapse web app. Click `Timelapse` on the left sidebar menu to create your own timelapse for any location around the globe.
"""
)
m = leafmap.Map(center=(51.4994, 0.1248), zoom=11,
minimap_control=False,
measure_control=False,
fullscreen_control=False,
attribution_control=False,
)
m.to_streamlit(height=500)