antvis / antvis/L7

绘制圆数据在缩放小于等于 11 时渲染变形

Open
#2,590 6 comments 1 reaction 1 assignee Claimed by @lzxue View on GitHub
Dominant language
TypeScript
Stars
4.1k
Forks
656
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

绘制圆数据在缩放小于等于 11 时,渲染成椭圆

![image](https://github.com/user-attachments/assets/00fa68a6-e2a8-4e83-99a6-d35a80821269)

### 重现链接

_No response_

### 重现步骤

```js
import { LineLayer, Scene } from '@antv/l7';
import { GaodeMap } from '@antv/l7-maps';

const scene = new Scene({
id: 'map',
map: new GaodeMap({
style: 'light',
zoom: 3,
}),
});
scene.on('loaded', () => {
const layer = new LineLayer({ autoFit: true })
.source({
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[116.511132, 39.870292],
[116.511668, 39.870271],
[116.512198, 39.870206],
[116.512716, 39.8701],
[116.513217, 39.869952],
[116.513696, 39.869765],
[116.514146, 39.869541],
[116.514563, 39.869281],
[116.514942, 39.86899],
[116.51528, 39.86867],
[116.515572, 39.868325],
[116.515816, 39.867958],
[116.516008, 39.867573],
[116.516147, 39.867175],
[116.516231, 39.866768],
[116.516259, 39.866357],
[116.516231, 39.865946],
[116.516147, 39.865539],
[116.516008, 39.865141],
[116.515816, 39.864756],
[116.515572, 39.864389],
[116.51528, 39.864044],
[116.514942, 39.863724],
[116.514563, 39.863433],
[116.514145, 39.863173],
[116.513695, 39.862949],
[116.513217, 39.862762],
[116.512716, 39.862614],
[116.512198, 39.862508],
[116.511668, 39.862443],
[116.511132, 39.862422],
[116.510596, 39.862443],
[116.510066, 39.862508],
[116.509548, 39.862614],
[116.509047, 39.862762],
[116.508569, 39.862949],
[116.508119, 39.863173],
[116.507701, 39.863433],
[116.507322, 39.863724],
[116.506984, 39.864044],
[116.506692, 39.864389],
[116.506448, 39.864756],
[116.506256, 39.865141],
[116.506117, 39.865539],
[116.506033, 39.865946],
[116.506005, 39.866357],
[116.506033, 39.866768],
[116.506117, 39.867175],
[116.506256, 39.867573],
[116.506448, 39.867958],
[116.506692, 39.868325],
[116.506984, 39.86867],
[116.507322, 39.86899],
[116.507701, 39.869281],
[116.508118, 39.869541],
[116.508568, 39.869765],
[116.509047, 39.869952],
[116.509548, 39.8701],
[116.510066, 39.870206],
[116.510596, 39.870271],
[116.511132, 39.870292]
]
]
}
}
]
})
.color('red');
scene.addLayer(layer);

});

```

### 预期行为

_No response_

### 平台

_No response_

### 屏幕截图或视频(可选)

_No response_

### 补充说明(可选)

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.