-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map Component #428
Comments
Thank you @wwwillchen for feedback. The prefect implementation that provide below main features which already supported in js library:
|
Mesop now supports web components so you should be able to wrap these JS libraries in Mesop now. Please let me know if you run into any issues - thanks. |
I'm working to wrap the Markmap library into a custom web component but experienced 'TypeError'. Got error message as: The corresponding code: |
Looks like you'll need to turn off trusted types to use the Markmap library: @me.page(
path="/",
security_policy=me.SecurityPolicy(dangerously_disable_trusted_types=True),
) See example:
|
That works. |
@lianggecm awesome! Also, if you've a working example, feel free to contribute it to our repo web components examples or you can share your repo and we can provide a link to your repo somewhere on our docs page (e.g. a web components gallery). Thanks! |
For the time being I'll put what I have here. I've also created a colab demo. Will contribute to the repo later. |
Neat, thanks for sharing! |
In other frameworks like streamlit, there is support for map component.
Streamlit Map
Also, comunity contribute with map compnents like Folium:
Streamlit 3rd party Maps
Could you add map component with event handlers to give more interactivity.
The text was updated successfully, but these errors were encountered: