Skip to content

User guide ImageOverlay example is missing the image file #2094

Closed

Description

@elliot-100

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.

Activity

  1. elliot-100 commented on Feb 19, 2025

    @elliot-100
    ContributorAuthor

    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 ?

  2. added
    documentation
    on Mar 15, 2025
  3. Conengmo commented on Mar 15, 2025

    @Conengmo
    Member

    Good catch @elliot-100! I made a PR to address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions