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

Picture references hardcoded to file system #2

Open
nascif opened this issue Nov 22, 2017 · 1 comment
Open

Picture references hardcoded to file system #2

nascif opened this issue Nov 22, 2017 · 1 comment

Comments

@nascif
Copy link

nascif commented Nov 22, 2017

In leaflet.html, the hrefs are hardcoded to use the file protocol.
And in utils.py, the value of filename is generated as an absolute path.
This makes it impossible to publish the final result to a web site later.
I would like to suggest removing the file protocol and using a relative path for the picture location.

var popup = '

' + a.properties.date + '

' + '

';
marker.bindPopup(popup);
markers.addLayer(marker);
}
map.addLayer(markers);
</script>

@Visgean
Copy link
Owner

Visgean commented Nov 22, 2017

Can you do pull request?

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

2 participants