calvinmetcalf / leaflet.shapefile

Shapefile in Leaflet
http://calvinmetcalf.github.io/leaflet.shapefile/
MIT License
259 stars 119 forks source link

Some Zip Shp files not loading #70

Open 8dgeSolution opened 2 years ago

8dgeSolution commented 2 years ago

Hi Calvin, I have some shape files which load on your website but not on my leaflet app. http://leaflet.calvinmetcalf.com/ I am using the leaflet.shapefile plugin and shp.js . I saw that your website only utilise the shp.js file... is that a better option ?

var emRegions = new L.Shapefile('/geoJSON/EM_REGIONS.zip', {
            onEachFeature: function(feature, layer) {
                console.log(layer);
            }
        }).addTo(map);
calvinmetcalf commented 2 years ago

are you getting an error in the console or the network requests?

CommanderRaiker commented 1 year ago

Same here! Working on your website but not with your github release (tried to overwrite congress.zip file). I tried to use a shapefile from the following page: https://www.suche-postleitzahl.org/plz-karte-erstellen

Used shapefile params on the website: Gebiet: 5-stellig, Format: Shapefile, Genauigkeit: sehr gering, Projektion: EPSG:4326 - wgs8. Than click on "Karte erstellen" and download the shapefile on the right side.

No error in the development console.