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

Make local file paths for Icon URL work with paths and file:// prefix #347

Open
deeplook opened this issue May 3, 2019 · 2 comments
Open

Comments

@deeplook
Copy link
Contributor

deeplook commented May 3, 2019

I notice that I can display icons locally only when giving them the file basename, but not the full path or even a file:// prefix. When not working I get a replacement rectangle on the map. Can somebody confirm this?

Icon(icon_url="file.png")                  # is working
Icon(icon_url="/path/to/file.png")         # not working
Icon(icon_url="file:///path/to/file.png")  # not working
@jngarber
Copy link

jngarber commented Feb 8, 2021

I can confirm this issue, though for me even using just the file name in the same dir as script fails to load. I can load using the http linked image (leaf) shown in the Icon example.

@vfridkin
Copy link

vfridkin commented May 8, 2023

I can confirm that the first example also doesn't work.

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

3 participants