maptalks / maptalks/maptalks.gridlayer
关于网格单位大小的问题
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
发现测试demo random.html 设置网格 大小为5时 绘画出大小不同的网格
var grid = new maptalks.GridLayer('grid', {
projection: true,
center: map.getCenter(),
**width: 5,**
**height: 5,**
data: data
})
.addTo(map);
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 issue in the test demo random.html with maptalks.GridLayer configured with width: 5 and height: 5. Inspect how the GridLayer handles these dimensions and projection, then verify that the rendered grid cells have consistent sizes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100