-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Maplibre-based streamlit maps do not render in Safari #965
Comments
Can you try out this to see if it works with Safari? I am not sure if this is a leafmap or maplibre issue. |
I meant cloning the repo and run it locally, not on Hugging Face |
@giswqs thanks , note the above examples are already a local jupyterhub, no huggingface involved. |
This is probably an upstream issue as the SF Bike Parking example is from the maplibre package. Leafmap is not used in this example. |
@giswqs thanks, we'll test with that. yeah looks like this is probably upstream of leafmap. Appreciate you testing. Will have to figure out why your local safari works but ours does not. Just to be clear, you also see safari not able to render in huggingface, but for you safari works locally? can you share your safari version? (sorry Cassie has Safari but I just have a ubuntu box here) |
Correct. Safari can render the streamlit-maplibre app running locally, but it gets a black screen when rendering the same app on Hugging Face. |
Closing this issue as it is an upstream issue. Hope it will be resolved upstream soon. |
Hey @giswqs, what version of Safari did you test this in? We think it's working in <=17.1 versions but we aren't sure how to test this. |
Environment Information
Description
I am trying to make streamlit apps that display maps with leafmap.maplibregl. However, I've found that maps on streamlit apps with the maplibre backend don’t appear when they’re opened on Safari on macOS desktop (which also means it can't appear on iPhone browsers).
Please refer to this app for an example:
https://huggingface.co/spaces/giswqs/streamlit-maplibre
It seems to just be a maplibregl module issue, as I’ve tested out leafmap.foliumap (https://huggingface.co/spaces/boettiger-lab/tpl) which showed up just fine in Safari.
What I Did
Clicking the link to view the app. It shows a blank window where the map should display. The image below is a screenshot of the issue:
The text was updated successfully, but these errors were encountered: