As the example app has been DoS'd, I decided to try and deploy my own on streamlit (having never used it before). The deployment process isn't documented in your project, but it was super easy to do using the upstream docs!
(The `streamlit` command is installed by the third requirements.txt)
It does properly show the Macau map, but is hanging on `Creating map... (may take up to a minute)`; I wonder if there's an OSM api key that is not working, or something like that.
edit: looks like the issue is just that it's very slow in places with a decent amount of OSM stuff? It's actually hanging on converting the OSM to geometries, as it tries to convert 400k objects
Argh! It looks like a badly handled error in the app, which I can't blame the platform for... but it looks like the platform gives great access to error logging
I've "rebooted" the app, but no idea how long it will last again!
```
/home/adminuser/venv/lib/python3.9/site-packages/geopandas/array.py:158: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.
return GeometryArray(vectorized.from_shapely(data), crs=crs)
/home/adminuser/venv/lib/python3.9/site-packages/geopandas/array.py:158: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.
return GeometryArray(vectorized.from_shapely(data), crs=crs)
[15:49:17] Streamlit server consistently failed status checks
[15:49:17] Please fix the errors, push an update to the git repo, or reboot the app.
```
As the site owner of MY deployment, it gives me a box down the bottom right which also allows me to restart the app. It's worth deploying it yourself to experiment with the platform.
1) Fork the app in Github
2) Create an account on https://streamlit.io/
3) New app, and link to your fork in Github
Wow. This is great. Is there API documentation? I'd love to be able to center the map at a GPS location instead of a city/town name. If I use my city's name, I find that it uses the city center, which is a reasonable default, but my neighborhood is actually quite far from that so it does not appear on the map unless I zoom way out.
They should have maybe gone with a name that pays tribute but differentiates. PrettiMapp? French derived: JoliesCarte? BellesCartes? JollyCart? BellCart?
edit: those sound like ecommerce spots. What about CharMApp?
Maptiler has a nice SAAS service. We use their vector maps with maplibre. Nice company trying to carve out a business in this space with decent tools, maps, and they are a major open source contributor as well. Several of their tools are opensource and you can self host.
Some nice examples of themed maps on their website.