-
Notifications
You must be signed in to change notification settings - Fork 643
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: 重构高德地图 V2 以视口进行同步 (#2387) * refactor: amap next * fix: getMinZoom * refactor: base map * fix: source update 事件访问图层初始化未完成 * fix: 新版高德大于 21 级别抖动问题 * fix: Mapbox/Maplibre 20 层级以上数据偏移问题 (#2416) * fix: fix line data offset in mapbox * refactor: 完成点线面图层属性索引重构 * refactor: 完成 citybuliding\earth\geometry\heatmap 图层属性索引重构 * refactor: 完成 image/ raster/wind 图层属性索引重构 * refactor: 标记最大索引 * fix: line layer data shake * refactor: 自定义开启双精度属性 * fix: map type * fix: amap support three * refactor: 移除不必要的剔除逻辑 * fix: 修复面图层光照计算 * fix: type EventEmitter * fix: mapbox 下部分面数据图层绘制异常 (#2453) * fix: mapbox 下部分面数据图层绘制异常 * fix: 3d extrude polygon layer * fix: 修复 WebGPU 模式渲染问题 (#2450) * fix: mapbox 线图层的贴图变形 (#2474) * fix: mapbox 线图层的贴图变形 * fix: 修复热力蜂窝图层渲染空白 (#2500) * fix: 修复热力蜂窝图层渲染空白 * fix: 无地图与 MapLibre 模式移动 Marker 出错 (#2509) * fix: marker 拖动报错 * fix: 在 WebGL2 拾取事件冒泡延迟问题 (#2511) * fix: 在 WebGL2 拾取事件冒泡延迟问题 * fix: 天地图 setCenter 方法缺失 (#2513) * fix: 天地图 setCenter 方法缺失 * fix: 修复在 Map 上使用组件事件穿透到图层上的问题 (#2518) * fix: 修复在 Map 上使用组件事件穿透到图层上的问题 * fix: 解决 GeometryLayer 在不同底图上的渲染不一致情况 (#2523) * fix: 解决 GeometryLayer 在不同底图上的渲染不一致情况 * fix: 统一地形高度 * refactor: 升级新版一方地图交互事件机制,解决抖动问题 (#2521) * refactor: 升级新版地图交互事件机制 * refactor: 默认升级 MapNext 至 [email protected] * fix: 顶点着色器与片元着色器 varying 变量顺序不一致 (#2527) * fix: 修复 bindings 缓存在 WebGPU 的问题 (#2526) * fix: 修复 bindings 缓存在 WebGPU 的问题 --------- Co-authored-by: lvisei <[email protected]>
- Loading branch information
Showing
550 changed files
with
32,328 additions
and
10,424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-layers': patch | ||
--- | ||
|
||
fix: mapbox 线图层的贴图变形 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-layers': patch | ||
--- | ||
|
||
fix: 解决 GeometryLayer 在不同底图上的渲染不一致情况 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-renderer': patch | ||
--- | ||
|
||
fix: 修复 bindings 缓存在 WebGPU 的问题 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-component': patch | ||
--- | ||
|
||
fix: 无地图与 MapLibre 模式移动 Marker 出错 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-maps': patch | ||
--- | ||
|
||
fix: 修复在 Map 上使用组件事件穿透到图层上的问题 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-layers': patch | ||
--- | ||
|
||
fix: 修复热力蜂窝图层渲染空白 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-map': patch | ||
--- | ||
|
||
refactor: 升级新版一方地图交互事件机制,解决抖动问题 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-core': patch | ||
--- | ||
|
||
fix: 在 WebGL2 拾取事件冒泡延迟问题 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"mode": "exit", | ||
"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", | ||
"cyan-badgers-argue", | ||
"famous-geese-know", | ||
"five-singers-rush", | ||
"gold-fans-dream", | ||
"honest-schools-relate", | ||
"large-pumas-provide", | ||
"polite-apples-rule", | ||
"proud-flies-change", | ||
"rude-crabs-cheer", | ||
"slimy-starfishes-joke", | ||
"sour-dodos-bake", | ||
"sour-lemons-perform", | ||
"tiny-seas-camp" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-maps': patch | ||
--- | ||
|
||
fix: 天地图 setCenter 方法缺失 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 修复立体面图层光照计算有误 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-scene': patch | ||
--- | ||
|
||
feat: 设置默认的渲染引擎为 g-device,优先使用 WebGL2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-maps': minor | ||
--- | ||
|
||
refactor: 高德地图联动升级 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@antv/l7-layers': patch | ||
--- | ||
|
||
fix: mapbox 下部分面数据图层绘制异常 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,5 @@ site/.dumi/tmp-production/ | |
site/public/ | ||
site/public_site/ | ||
|
||
# examples for data | ||
examples/data/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { generateCanvasTestCases } from './utils/generator'; | ||
|
||
const TEST_CASES = [ | ||
{ | ||
name: 'normal', | ||
}, | ||
{ | ||
name: 'grid', | ||
}, | ||
{ | ||
name: 'hexagon', | ||
}, | ||
]; | ||
|
||
describe('Heatmap Snapshot', () => { | ||
generateCanvasTestCases('heatmap', TEST_CASES); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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.
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.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
(window as any).URL.createObjectURL = jest.fn; | ||
(window as any).ResizeObserver = jest.fn().mockImplementation(() => ({ | ||
observe: jest.fn(), | ||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
import type { RenderDemoMap, RenderDemoOptions } from './types'; | ||
import type { GUIOptions, TestCaseBasemap } from './types'; | ||
|
||
export const MAP_TYPES: RenderDemoMap[] = [ | ||
export const DEFAULT_GUI_OPTIONS: GUIOptions = { | ||
map: 'Map', | ||
renderer: 'device', | ||
animate: false, | ||
enableWebGPU: false, | ||
}; | ||
|
||
export const SEARCH_PARAMS_KEYS = ['namespace', 'name', 'snapshot'].concat( | ||
Object.keys(DEFAULT_GUI_OPTIONS), | ||
); | ||
|
||
export const MAP_TYPES: TestCaseBasemap[] = [ | ||
'Map', | ||
'GaodeMap', | ||
'BaiduMap', | ||
'Mapbox', | ||
'MapLibre', | ||
'BaiduMap', | ||
'TencentMap', | ||
'Mapbox', | ||
'TMap', | ||
'GoogleMap', | ||
] as const; | ||
|
||
export const DEFAULT_RENDER_OPTIONS: RenderDemoOptions = { | ||
map: 'Map', | ||
renderer: 'device', | ||
animate: false, | ||
}; |
Oops, something went wrong.