gipong / shp2geojson.js

Convert shapefile to geoJSON via a web browser without Server-Side code. This conversion will unzip your file and reproject the data with correct encoding in JavaScript.
http://gipong.github.io/shp2geojson.js/
MIT License
256 stars 90 forks source link

Fix loadEPSG epsg.io url in case of https #9

Closed eblondel closed 6 years ago

eblondel commented 6 years ago

@gipong many thanks for this awesome library. However, i've been facing a minor issue while using your library on a website enable with https. In such case, trying to get from http://epsg.io will fail (mixed origin http/https). I've fixed it easily by letting browser take it either from http/https. Hope this helps