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

Demo page broken #18

Open
letmaik opened this issue Jul 6, 2015 · 3 comments
Open

Demo page broken #18

letmaik opened this issue Jul 6, 2015 · 3 comments

Comments

@letmaik
Copy link

letmaik commented Jul 6, 2015

Tested on latest Firefox.

@MrMufflon
Copy link
Owner

Any more details? Don`t have a problem with http://mrmufflon.github.io/Leaflet.Coordinates/examples/demo.html

@letmaik
Copy link
Author

letmaik commented Aug 13, 2015

Seems a browser addon I used (HTTPS Everywhere) changed the http to https and there it fails: https://mrmufflon.github.io/Leaflet.Coordinates/examples/demo.html

@jbelien
Copy link

jbelien commented Sep 3, 2015

It's due to the fact that you load the Leaflet.js and Leaflet.css from http://cdn.leafletjs.com/leaflet-0.6.2/ (in Firefox anyway, I did not try other browsers).

Use //cdn.leafletjs.com/leaflet-0.6.2/leaflet.css instead of http://cdn.leafletjs.com/leaflet-0.6.2/leaflet.css
and //cdn.leafletjs.com/leaflet-0.6.2/leaflet.js instead of http://cdn.leafletjs.com/leaflet-0.6.2/leaflet.js in your examples/demo.html file.

You can also use a local copy of Leafet JS and CSS files to be sure it works in HTTP and HTTPS.

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