Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

「WIP」wip: 复现设置数据为空的案例 #2483

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9f03717
refactor: 重构高德地图 V2 以视口进行同步 (#2387)
lvisei Apr 17, 2024
6a1d703
Merge branch 'master' into beta
lvisei Apr 17, 2024
6ffc717
wip: data shake case
lvisei Apr 19, 2024
5c82d3a
Merge branch 'master' into fix/data-shake
lvisei Apr 24, 2024
6166750
Merge branch 'master' into beta
lvisei Apr 24, 2024
33f505d
fix: 新版高德大于 21 级别抖动问题
lvisei Apr 28, 2024
a44d34e
Merge branch 'fix/amap-data-shake' into beta
lvisei Apr 28, 2024
0913661
fix: Mapbox/Maplibre 20 层级以上数据偏移问题 (#2416)
lvisei Apr 30, 2024
21ec03a
Merge branch 'master' into beta
lvisei Apr 30, 2024
46efdc5
chore: set to beta version
lvisei Apr 30, 2024
969b533
refactor: remove old amap v1 and v2 (#2435)
lvisei May 6, 2024
048c203
chore: add changeset
lvisei May 6, 2024
3f508ff
fix: type EventEmitter
lvisei May 6, 2024
18db6f7
chore: set changeset
lvisei May 6, 2024
4a73001
chore: version (beta) (#2442)
github-actions[bot] May 6, 2024
d408bdb
fix: mapbox 下部分面数据图层绘制异常 (#2453)
lvisei May 15, 2024
e9b9583
Merge branch 'master' into beta
lvisei May 16, 2024
ed86b03
Merge branch 'master' into beta
lvisei May 16, 2024
7e3b672
fix: 修复 WebGPU 模式渲染问题 (#2450)
lvisei May 16, 2024
3e33888
fix: mapbox 线图层的贴图变形 (#2474)
lvisei May 16, 2024
05dd5cc
refactor: set default renderer to device (#2477)
lvisei May 16, 2024
37b72bd
chore: set changeset
lvisei May 16, 2024
c4c6004
chore: version (beta) (#2480)
github-actions[bot] May 16, 2024
f68e1be
revert: use cache for createInputLayout
lvisei May 17, 2024
87a7e8b
chore: set changesets
lvisei May 17, 2024
5e4a474
chore: type throttle
lvisei May 17, 2024
6f9e431
wip: 复现设置数据为空的案例
lvisei May 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/clean-beers-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@antv/l7-layers': patch
---

fix: mapbox 线图层的贴图变形
26 changes: 26 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"mode": "pre",
"tag": "beta",
"initialVersions": {
"@antv/l7-component": "2.21.10",
"@antv/l7-core": "2.21.10",
"@antv/l7": "2.21.10",
"@antv/l7-layers": "2.21.10",
"@antv/l7-map": "2.21.10",
"@antv/l7-maps": "2.21.10",
"@antv/l7-renderer": "2.21.10",
"@antv/l7-scene": "2.21.10",
"@antv/l7-source": "2.21.10",
"@antv/l7-test-utils": "2.21.10",
"@antv/l7-three": "2.21.10",
"@antv/l7-utils": "2.21.10",
"@antv/l7-site": "2.21.3"
},
"changesets": [
"clean-beers-try",
"proud-flies-change",
"slimy-starfishes-joke",
"sour-lemons-perform",
"tiny-seas-camp"
]
}
9 changes: 9 additions & 0 deletions .changeset/slimy-starfishes-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@antv/l7-layers': patch
'@antv/l7-core': patch
'@antv/l7-maps': patch
---

fix: Mapbox/Maplibre 20 层级以上数据偏移问题
fix: 修复点图层部分 shape 中心点计算有误
fix: 修复立体面图层光照计算有误
5 changes: 5 additions & 0 deletions .changeset/sour-dodos-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@antv/l7-scene': patch
---

feat: 设置默认的渲染引擎为 g-device,优先使用 WebGL2
5 changes: 5 additions & 0 deletions .changeset/sour-lemons-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@antv/l7-maps': patch
---

refactor: 高德地图联动升级
5 changes: 5 additions & 0 deletions .changeset/tiny-seas-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@antv/l7-layers': patch
---

fix: mapbox 下部分面数据图层绘制异常
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ jobs:
# use xvfb-run run in ubuntu
run: xvfb-run pnpm test-cover

- name: Upload test coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# - name: Upload test coverage
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}

integration-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ site/.dumi/tmp-production/
site/public/
site/public_site/

# examples for data
examples/data/
7 changes: 6 additions & 1 deletion __tests__/integration/gallery.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ import { generateCanvasTestCases } from './utils/generator';
const TEST_CASES = [
{
name: 'fujian',
sleepTime: 500,
sleepTime: 1000,
},
{
name: 'variFlight',
sleepTime: 1000,
snapshots: false,
},
];

Expand Down
19 changes: 19 additions & 0 deletions __tests__/integration/heatmap.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { generateCanvasTestCases } from './utils/generator';

const TEST_CASES = [
{
name: 'normal',
},
{
name: 'grid',
snapshots: false,
},
{
name: 'hexagon',
snapshots: false,
},
];

describe('Heatmap Snapshot', () => {
generateCanvasTestCases('Heatmap', TEST_CASES);
});
26 changes: 18 additions & 8 deletions __tests__/integration/line.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,36 @@ import { generateCanvasTestCases } from './utils/generator';

const TEST_CASES = [
{
name: 'arc',
sleepTime: 500,
name: 'simple',
},
{
name: 'normal',
},
{
name: 'arc_plane',
name: 'dash',
snapshots: false,
sleepTime: 500,
},

{
name: 'flow',
sleepTime: 800,
name: 'wall',
},
{
name: 'arc',
sleepTime: 600,
sleepTime: 500,
},
{
name: 'dash',
name: 'arc3D',
sleepTime: 1000,
},
{
name: 'greatcircle',
snapshots: false,
sleepTime: 500,
},
{
name: 'flow',
sleepTime: 1000,
},
];

describe('Line Snapshot', () => {
Expand Down
14 changes: 10 additions & 4 deletions __tests__/integration/point.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,20 @@ const TEST_CASES = [
name: 'column',
},
{
name: 'fill_image',
name: 'dot',
snapshots: false,
},
{
name: 'fill',
},
// {
// name: 'image',
// },
{
name: 'fill_image',
sleepTime: 1000,
},
{
name: 'image',
snapshots: false,
},
{
name: 'text',
},
Expand Down
5 changes: 5 additions & 0 deletions __tests__/integration/polygon.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ import { generateCanvasTestCases } from './utils/generator';
const TEST_CASES = [
{
name: 'extrude',
sleepTime: 500,
},
{
name: 'extrusion',
sleepTime: 500,
},
{
name: 'fill',
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/Line_arc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __tests__/integration/snapshots/Line_arc3D.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __tests__/integration/snapshots/Line_normal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __tests__/integration/snapshots/Line_simple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added __tests__/integration/snapshots/Line_wall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/Mask_multi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/Mask_single.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/Point_billboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/Point_column.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/Point_fill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/Point_fill_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/Point_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/Polygon_extrude.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/Polygon_fill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import type { RenderDemoMap, RenderDemoOptions } from './types';
export const MAP_TYPES: RenderDemoMap[] = [
'Map',
'GaodeMap',
'BaiduMap',
'Mapbox',
'MapLibre',
'BaiduMap',
'TencentMap',
'Mapbox',
'TMap',
'GoogleMap',
] as const;
Expand Down
6,113 changes: 6,113 additions & 0 deletions examples/data/globe-earthquake-mag.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/data/hunan-citys.json

Large diffs are not rendered by default.

Loading
Loading