Skip to content
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

User guide ImageOverlay example is missing the image file #2094

Open
elliot-100 opened this issue Feb 19, 2025 · 1 comment
Open

User guide ImageOverlay example is missing the image file #2094

elliot-100 opened this issue Feb 19, 2025 · 1 comment

Comments

@elliot-100
Copy link

At https://python-visualization.github.io/folium/latest/user_guide/ui_elements/layer_control.html, the example shows the error Could not find data/Mercator_projection_SW.png and the image is not displayed.

Presumably the image file is missing or misplaced.

Not sure why it's a PNG when the linked original source is a JPG? Seems to add a little bit of unneeded complexity.

folium is maintained by volunteers. Can you help making a fix for this issue?

I think so if I can find time to work out file hierarchy.

@elliot-100
Copy link
Author

elliot-100 commented Feb 19, 2025

Looks like this is the only example that tries to load from a filepath instead of URL, so I guess the image would need to be added to https://github.com/python-visualization/folium/tree/main/docs/_static
rather than
https://github.com/python-visualization/folium-example-data ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant