프로젝트
GitHub에서 보기
randyzwitch/streamlit-folium
소개
Folium 지도를 렌더링하는 Streamlit 컴포넌트입니다.
창작 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalstreamlit-folium: geospatial made easy in Streamlit!
streamlit-folium integrates two great open-source projects in the Python ecosystem: Streamlit and Folium!
Installation
pip install streamlit-folium
or
conda install -c conda-forge streamlit-folium
Usage
Currently, there are two functions defined:
st_folium(): a bi-directional Component, taking a Folium/Branca object and plotting to the Streamlit app. Upon mount/interaction with the Streamlit app,st_folium()returns a Dict with selected information including the bounding box and items clicked onfolium_static(): takes afolium.Map,folium.Figure, orbranca.element.Figureobject and displays it in a Streamlit app using the_repr_html()representation created in Folium. This function should be a strict subset the of functionality of the newerst_folium()function, but is great for testing to ensure you have the correct Folium syntax.
Example
Run and edit this example in Py.Cafe

Contributing
See CONTRIBUTING.md for more details.
관련 프로젝트 살펴보기
불러오는 중…