-
Notifications
You must be signed in to change notification settings - Fork 119
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
How to install this leaflet module using npm? #53
Comments
copy over the shp.js file leaflet.shapefile.js files into your vendors folder, or really just any folder in your app and then require them (require shp first) this was written way before I know about bundlers or anything |
change |
more generally the shapefile to geojson library is available on npm as |
So I changed |
yup local would be the issue, run a server so it's on local host |
I already did this and the error still occurred. I don't know what went wrong really |
as I said above, this shapefile plugin for leaflet is pretty old, you might be better off using the shapefile to geojson library directly |
So I want to use this module for my leaflet map but I'm developing it on ionic. How can I use this module?
The text was updated successfully, but these errors were encountered: