Open All4Gis opened 4 years ago
Sounds familiar. Can you confirm the library works standalone? Also, could you provide a running sample with your setup? Demo URL, CodePen etc.
It works perfectly in standalone app.I'm going to make an example
I created a sample repository
npm install
and npm start
git checkout OSMBuildings
From what I see code did not get properly transpiled into ES6. Ideally you could fine tune this process.
Resulting tasks would be refactoring to a modern code base + providing an npm module.
Okay, I shall enquire and I'll try to make a working example. thanks
I've finally had time to make some changes. It's working. Here is a link to the example.
https://github.com/All4Gis/OSMSample/tree/OSMBuildings
And live demo https://all4gis.github.io/OSMSample/
Hi.
I'm trying to integrate this js into a project but when I import the library I get a lot of errors like:
It's a create react app project, but it should work I think.
thanks