Geolicious / qgis2leaf

A QGIS plugin to create a working leaflet based webmap from it
127 stars 30 forks source link

Remote JS/CSS libraries not protocol-neutral #226

Open tomchadwin opened 9 years ago

tomchadwin commented 9 years ago

This leads to security errors if map is hosted on HTTPS.

tomchadwin commented 9 years ago

This is not so simple. I thought I could just change the external JS and CSS addresses from http:// to //. However, this does not work when viewing on a filesystem, and hence specifically and critically, does not work on the output map when it automatically pops up.

So, this is an issue, but not one I can think of an easy way around, other than to document that users need to make the above change to their code when they put it on a webserver.