Use in Streamlit ? #342
-
I was wondering if it is possible to use the library out of notebooks and in "standalone" applications, such as for example Streamlit ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I'm not familiar with Streamlit, so I can't give any direct advice. In general, you can use |
Beta Was this translation helpful? Give feedback.
-
Thanks, just chiming in here that I'd love to see this as well. Streamlit is an extremely popular simple python framework for reactive apps and a first-class citizen on huggingface spaces, and streamlit already uses deck.gl / pydeck as the default mapping engine for it's map. I think we can get pretty far with to_html(), but it looks like there is already at least third party support for bi-directional communication, e.g. in streamlit-deckgl. Bi-directional support opens up a lot of possibilities for a web-based app, e.g. compare to the bi-directional input on folium maps for streamlit. This lets us write reactive python apps that can respond to user interactions with the map such as the drawing tools, etc. |
Beta Was this translation helpful? Give feedback.
I'm not familiar with Streamlit, so I can't give any direct advice.
In general, you can use
to_html
to export a map as static HTML. Maybe that will help?