pointLayer.shape(img),只在mac M1 本机浏览器大小受限,外接显示器或者其他电脑,.size()都是生效的。这个除了使用marker图层以外,可以从根本上解决这个问题吗
- Dominant language
- TypeScript
- Stars
- 4.1k
- Forks
- 656
- PR merge metrics
- No merged PRs in 30d
Description

pointLayer.shape(img),只在mac M1 本机浏览器大小受限,外接显示器或者其他电脑,.size()都是生效的。这个除了使用marker图层以外,可以从根本上解决这个问题吗
当前l7版本为最新版本。
外接显示器:

mac显示器:

电脑配置:


代码示例【官方】:
https://l7.antv.antgroup.com/examples/point/image/#image
Contributor guide
Research direction
Start with the official image point example at https://l7.antv.antgroup.com/examples/point/image/ and reproduce the pointLayer.shape(img) sizing difference on the Mac M1 internal display and an external display. Trace the image layer sizing path and identify why .size() behaves differently; done means the example renders consistent image sizes across the reported environments without requiring a marker layer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100