diff --git a/README.md b/README.md index 2fdd9d6..63ff43b 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,13 @@ A minimal Python library to draw customized maps from [OpenStreetMap](https://www.openstreetmap.org/#map=12/11.0733/106.3078) created using the [osmnx](https://github.com/gboeing/osmnx), [matplotlib](https://matplotlib.org/), [shapely](https://shapely.readthedocs.io/en/stable/index.html) and [vsketch](https://github.com/abey79/vsketch) packages. -![](https://github.com/marceloprates/prettymaps/raw/main/prints/heerhugowaard.png) +# Prettymaps is now available as a streamlit app! +[![Streamlit App](https://img.shields.io/badge/Streamlit-Live-blue?logo=streamlit)](https://prettymaps.streamlit.app/) + +[![image](https://github.com/user-attachments/assets/14e56496-9eab-4b31-ad05-6227d56cfbd2)](https://prettymaps.streamlit.app/) + + This work is [licensed](LICENSE) under a GNU Affero General Public License v3.0 (you can make commercial use, distribute and modify this project, but must **disclose** the source code with the license and copyright notice) @@ -19,6 +24,12 @@ This work is [licensed](LICENSE) under a GNU Affero General Public License v3.0 ## As seen on [Hacker News](https://web.archive.org/web/20210825160918/https://news.ycombinator.com/news): ![](https://github.com/marceloprates/prettymaps/raw/main/prints/hackernews-prettymaps.png) + + + + Star History Chart + + ## [prettymaps subreddit](https://www.reddit.com/r/prettymaps_/) ## [Google Colaboratory Demo](https://colab.research.google.com/github/marceloprates/prettymaps/blob/master/notebooks/examples.ipynb) diff --git a/app.py b/app.py index 72d80f3..7b442a0 100644 --- a/app.py +++ b/app.py @@ -19,7 +19,7 @@ with cols[0]: query = st.text_area( "Location", value="Stad van de Zon, Heerhugowaard, Netherlands", height=86 ) - radius = st.slider("Radius (km)", 0.5, 20.0, 0.1, step=0.5) + radius = st.slider("Radius (km)", 0.5, 10.0, 0.1, step=0.5) circular = st.checkbox("Circular map", value=False) # Add input for number of colors