maptalks / maptalks/maptalks.js
在 debug 模式时,瓦片 debug 边线绘制出错
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 4.5k
- Forks
- 511
- Avg merge
- 3d 58m
- Merged PRs (30d)
- 1
Description
**maptalks's version and what browser you use?**
----
1.0.0-rc.28
**Issue description**
----
```js
const rasterLight = new maptalks.TileLayer('light', {
urlTemplate: 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png',
subdomains: ['a', 'b', 'c', 'd'],
debug: true,
});
```
在 debug 模式时,瓦片 debug 边线绘制出错(仅出现在 gl 模式)

**Please provide a reproduction URL (on any jsfiddle like site)**
----
https://codepen.io/sakitam-fdd/pen/LYaxpmx
Contributor guide
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 with the CodePen reproduction and the TileLayer debug option shown in the issue, comparing normal and GL modes. Trace how tile debug borders are drawn and verify the result against the provided screenshot. Done means the debug borders render correctly in GL mode without affecting normal tile display.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100