Skip to content

Update to use ol ESM modules #530

Description

@geferon

OpenLayers got updated to ESM modules, and no longer exports everything as a base namespace that can be used for everything.
Even though you can work around this, with the inject functions and etc, it isn't ideal for types and just causes issues with TypeScript.
It would be nice if jsts got a respective update to support the newer versions of ol, as right now the only way of using it with TypeScript is adding skipLibCheck, which isn't nice imo.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions