maptalks / maptalks/maptalks.three
coordinate type is error,it should be Coordinate
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 650
- Forks
- 138
- PR merge metrics
- No merged PRs in 30d
Description
If you report this error

you need
```js
import * as maptalks from 'maptalks';
import * as THREE from 'three';
import { ThreeLayer } from 'maptalks.three';
```
instead of
```js
//import * as maptalks from 'maptalks/dist/maptalks.js';
import * as maptalks from 'maptalks/dist/maptalks.min.js';
import * as THREE from 'three';
import { ThreeLayer } from 'maptalks.three';
```
Otherwise, the webpack will be packaged maptalks.es.js and maptalks.js/maptalks . min.js
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported webpack behavior with the two maptalks import paths shown in the issue, alongside the ThreeLayer and three.js imports. Compare the resulting type error and packaged files, including maptalks.es.js and the dist builds. Done means the intended import path and Coordinate type behavior are clearly established and covered by a reproducible check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, three.js, webpack
- Domain
- build-system, computer-graphics, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100