-
Notifications
You must be signed in to change notification settings - Fork 80
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
geoPackageFeatureLayer is not a function #166
Comments
I am facing the same issue. Have you found a solution @robbiegleeson ? Thank you. |
How did you import the leaflet-geopackage library? Do you have a complete example I can look at? |
Thanks for your reply. I am trying to use it in a react js project. After
Am I doing something wrong? NB : I use Node 12 to avoid #172 |
If you can provide an example project, I can take a look and determine what is wrong. |
Here is an example project with my issue. Thank you for your help. |
It appears you need to allocate more space to your build so I modified your package.json scripts to this
I updated your Geopackage.js file to this
Once that was done, it all loaded just fine for me. |
--max_old_space_size=4096 is insufficient for me. I needed to increase it to 8192 and that perfectly loaded, thanks! |
Package Version
"@ngageoint/leaflet-geopackage": "^3.0.3"
React Version
"react": "^16.13.1",
Error Details
Details
I am looking to use
leaflet-geopackage
within my React.js project. When trying to load a.gpkg
file once thetitleLayer
is loaded I get the above error.Code
I've installed the package but I can't seem to figure out why it's throwing this error
The text was updated successfully, but these errors were encountered: