GIScience / GIScience/Leaflet.Heightgraph

Error when import in angular project

Open
#120 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
101
Forks
40
PR merge metrics
No merged PRs in 30d

Description

When imported in an Angular project, it prevents Angular application from starting because of the deprecated dependency d3-collection which redefines some collection classes in the global score, like Map, Set. These old incomplete implementations cause problems.

in the core.js of Angular, it uses Map and Set of the new language specification
``` javascript
// like this:
this.source = source;
var records = this._records = new Map();
// like this:
var componentDefPendingResolution = new Set();
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.