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

Some Zip Shp files not loading #70

Open
8dgeSolution opened this issue Aug 9, 2022 · 2 comments
Open

Some Zip Shp files not loading #70

8dgeSolution opened this issue Aug 9, 2022 · 2 comments

Comments

@8dgeSolution
Copy link

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
Copy link
Owner

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

@CommanderRaiker
Copy link

CommanderRaiker commented May 17, 2023

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.

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