From e8f5dc4a3922bf4cef2db3ce88b08bfb10cd05c7 Mon Sep 17 00:00:00 2001 From: Marcelo de Oliveira Rosa Prates Date: Mon, 3 Mar 2025 15:44:51 -0300 Subject: [PATCH 1/5] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2fdd9d6..9a04f35 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-Online-red?logo=streamlit)]([https://your-streamlit-app-url](https://prettymaps.streamlit.app/)) + +![image](https://github.com/user-attachments/assets/14e56496-9eab-4b31-ad05-6227d56cfbd2) + + 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) From 9994faca0d89c2b667be3b0cfbeea9cdeacedec2 Mon Sep 17 00:00:00 2001 From: Marcelo de Oliveira Rosa Prates Date: Mon, 3 Mar 2025 15:45:57 -0300 Subject: [PATCH 2/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a04f35..df0d9f7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A minimal Python library to draw customized maps from [OpenStreetMap](https://ww # Prettymaps is now available as a streamlit app! -[![Streamlit App](https://img.shields.io/badge/Streamlit-Online-red?logo=streamlit)]([https://your-streamlit-app-url](https://prettymaps.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) From 1d3eba9d266e4f9c147f6e65f910cda4873dfe77 Mon Sep 17 00:00:00 2001 From: Marcelo de Oliveira Rosa Prates Date: Mon, 3 Mar 2025 15:46:50 -0300 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df0d9f7..67dd837 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A minimal Python library to draw customized maps from [OpenStreetMap](https://ww [![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) +[![image](https://github.com/user-attachments/assets/14e56496-9eab-4b31-ad05-6227d56cfbd2)](https://prettymaps.streamlit.app/) From ab662fd09fb0863a1010d792e137917ab5488927 Mon Sep 17 00:00:00 2001 From: Marcelo de Oliveira Rosa Prates Date: Mon, 3 Mar 2025 16:05:13 -0300 Subject: [PATCH 4/5] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 67dd837..63ff43b 100644 --- a/README.md +++ b/README.md @@ -24,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) From c7d0ab8548f7d8687da467c8316f73a297457bd2 Mon Sep 17 00:00:00 2001 From: Marcelo de Oliveira Rosa Prates Date: Mon, 3 Mar 2025 16:07:22 -0300 Subject: [PATCH 5/5] Update app.py Reduced max radius to 10km --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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