mirror of
https://github.com/marceloprates/prettymaps.git
synced 2025-09-02 19:02:40 +02:00
Merge branch 'main' of github.com:marceloprates/prettymaps
This commit is contained in:
13
README.md
13
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.
|
||||
|
||||

|
||||
# Prettymaps is now available as a streamlit app!
|
||||
|
||||
[](https://prettymaps.streamlit.app/)
|
||||
|
||||
[](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):
|
||||

|
||||
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=marceloprates/prettymaps&type=Date&theme=dark" />
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=marceloprates/prettymaps&type=Date" />
|
||||
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=star-history/star-history&type=Date" />
|
||||
</picture>
|
||||
|
||||
## [prettymaps subreddit](https://www.reddit.com/r/prettymaps_/)
|
||||
## [Google Colaboratory Demo](https://colab.research.google.com/github/marceloprates/prettymaps/blob/master/notebooks/examples.ipynb)
|
||||
|
||||
|
2
app.py
2
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
|
||||
|
Reference in New Issue
Block a user