@antv/l7-layers 2.25.10 → 2.28.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/es/citybuilding/models/build.d.ts +3 -2
  2. package/es/core/BaseModel.js +32 -6
  3. package/es/core/CommonStyleAttribute.d.ts +2 -1
  4. package/es/core/CommonStyleAttribute.js +23 -1
  5. package/es/core/constant.js +4 -2
  6. package/es/core/interface.d.ts +1 -0
  7. package/es/earth/models/atmosphere.d.ts +3 -2
  8. package/es/earth/models/base.d.ts +3 -2
  9. package/es/earth/models/bloomsphere.d.ts +3 -2
  10. package/es/geometry/models/billboard.d.ts +3 -2
  11. package/es/geometry/models/plane.d.ts +3 -2
  12. package/es/heatmap/models/grid.d.ts +3 -2
  13. package/es/heatmap/models/grid3d.d.ts +3 -2
  14. package/es/heatmap/models/heatmap.d.ts +3 -2
  15. package/es/heatmap/models/hexagon.d.ts +3 -2
  16. package/es/image/models/image.d.ts +3 -2
  17. package/es/line/models/arc.d.ts +3 -2
  18. package/es/line/models/arc_3d.d.ts +3 -2
  19. package/es/line/models/flow.d.ts +3 -2
  20. package/es/line/models/great_circle.d.ts +3 -2
  21. package/es/line/models/line.d.ts +3 -2
  22. package/es/line/models/simple_line.d.ts +3 -2
  23. package/es/line/models/wall.d.ts +3 -2
  24. package/es/point/index.js +2 -2
  25. package/es/point/models/billboard_point.d.ts +3 -2
  26. package/es/point/models/earthExtrude.d.ts +3 -2
  27. package/es/point/models/earthFill.d.ts +3 -2
  28. package/es/point/models/extrude.d.ts +3 -2
  29. package/es/point/models/fill.d.ts +3 -2
  30. package/es/point/models/fillImage.d.ts +3 -2
  31. package/es/point/models/image.d.ts +3 -2
  32. package/es/point/models/normal.d.ts +3 -2
  33. package/es/point/models/radar.d.ts +3 -2
  34. package/es/point/models/text.d.ts +3 -2
  35. package/es/point/shaders/billboard/billboard_point_vert.glsl +33 -1
  36. package/es/point/shaders/earthFill/earthFill_vert.glsl +37 -3
  37. package/es/point/shaders/fill/fill_vert.glsl +38 -3
  38. package/es/point/shaders/fillImage/fillImage_vert.glsl +34 -1
  39. package/es/point/shaders/image/image_vert.glsl +31 -0
  40. package/es/point/shaders/normal/normal_vert.glsl +30 -0
  41. package/es/point/shaders/radar/radar_vert.glsl +34 -3
  42. package/es/polygon/models/extrude.d.ts +3 -2
  43. package/es/polygon/models/extrusion.d.ts +3 -2
  44. package/es/polygon/models/fill.d.ts +3 -2
  45. package/es/polygon/models/ocean.d.ts +3 -2
  46. package/es/polygon/models/water.d.ts +3 -2
  47. package/es/raster/models/raster.d.ts +3 -2
  48. package/es/raster/models/rasterRgb.d.ts +3 -2
  49. package/es/raster/models/rasterTerrainRgb.d.ts +3 -2
  50. package/es/tile/tile/Tile.d.ts +1 -1
  51. package/es/tile/tile/util.d.ts +1 -1
  52. package/es/utils/symbol-layout.d.ts +1 -1
  53. package/es/utils/symbol-layout.js +19 -9
  54. package/es/wind/models/wind.d.ts +3 -2
  55. package/lib/citybuilding/models/build.d.ts +3 -2
  56. package/lib/core/BaseModel.js +32 -6
  57. package/lib/core/CommonStyleAttribute.d.ts +2 -1
  58. package/lib/core/CommonStyleAttribute.js +23 -1
  59. package/lib/core/constant.js +4 -2
  60. package/lib/core/interface.d.ts +1 -0
  61. package/lib/earth/models/atmosphere.d.ts +3 -2
  62. package/lib/earth/models/base.d.ts +3 -2
  63. package/lib/earth/models/bloomsphere.d.ts +3 -2
  64. package/lib/geometry/models/billboard.d.ts +3 -2
  65. package/lib/geometry/models/plane.d.ts +3 -2
  66. package/lib/heatmap/models/grid.d.ts +3 -2
  67. package/lib/heatmap/models/grid3d.d.ts +3 -2
  68. package/lib/heatmap/models/heatmap.d.ts +3 -2
  69. package/lib/heatmap/models/hexagon.d.ts +3 -2
  70. package/lib/image/models/image.d.ts +3 -2
  71. package/lib/line/models/arc.d.ts +3 -2
  72. package/lib/line/models/arc_3d.d.ts +3 -2
  73. package/lib/line/models/flow.d.ts +3 -2
  74. package/lib/line/models/great_circle.d.ts +3 -2
  75. package/lib/line/models/line.d.ts +3 -2
  76. package/lib/line/models/simple_line.d.ts +3 -2
  77. package/lib/line/models/wall.d.ts +3 -2
  78. package/lib/point/index.js +2 -2
  79. package/lib/point/models/billboard_point.d.ts +3 -2
  80. package/lib/point/models/earthExtrude.d.ts +3 -2
  81. package/lib/point/models/earthFill.d.ts +3 -2
  82. package/lib/point/models/extrude.d.ts +3 -2
  83. package/lib/point/models/fill.d.ts +3 -2
  84. package/lib/point/models/fillImage.d.ts +3 -2
  85. package/lib/point/models/image.d.ts +3 -2
  86. package/lib/point/models/normal.d.ts +3 -2
  87. package/lib/point/models/radar.d.ts +3 -2
  88. package/lib/point/models/text.d.ts +3 -2
  89. package/lib/point/shaders/billboard/billboard_point_vert.glsl +33 -1
  90. package/lib/point/shaders/earthFill/earthFill_vert.glsl +37 -3
  91. package/lib/point/shaders/fill/fill_vert.glsl +38 -3
  92. package/lib/point/shaders/fillImage/fillImage_vert.glsl +34 -1
  93. package/lib/point/shaders/image/image_vert.glsl +31 -0
  94. package/lib/point/shaders/normal/normal_vert.glsl +30 -0
  95. package/lib/point/shaders/radar/radar_vert.glsl +34 -3
  96. package/lib/polygon/models/extrude.d.ts +3 -2
  97. package/lib/polygon/models/extrusion.d.ts +3 -2
  98. package/lib/polygon/models/fill.d.ts +3 -2
  99. package/lib/polygon/models/ocean.d.ts +3 -2
  100. package/lib/polygon/models/water.d.ts +3 -2
  101. package/lib/raster/models/raster.d.ts +3 -2
  102. package/lib/raster/models/rasterRgb.d.ts +3 -2
  103. package/lib/raster/models/rasterTerrainRgb.d.ts +3 -2
  104. package/lib/tile/tile/Tile.d.ts +1 -1
  105. package/lib/tile/tile/util.d.ts +1 -1
  106. package/lib/utils/symbol-layout.d.ts +1 -1
  107. package/lib/utils/symbol-layout.js +19 -9
  108. package/lib/wind/models/wind.d.ts +3 -2
  109. package/package.json +6 -6
@@ -17,6 +17,32 @@ out float v_opacity;
17
17
  #pragma include "projection"
18
18
  #pragma include "picking"
19
19
 
20
+ // 根据 anchor 值计算点精灵的像素偏移
21
+ // anchor: 0=center, 1=top, 2=top-right, 3=right, 4=bottom-right, 5=bottom, 6=bottom-left, 7=left, 8=top-left, 9=bottom-center
22
+ vec2 applyAnchorPoint(float anchor, float pointSize) {
23
+ if (anchor < 0.5) {
24
+ return vec2(0.0);
25
+ }
26
+
27
+ vec2 offset = vec2(0.0);
28
+
29
+ // horizontal alignment: 左边缘对准坐标 -> 向右移; 右边缘对准坐标 -> 向左移
30
+ if (anchor == 2.0 || anchor == 3.0 || anchor == 4.0) {
31
+ offset.x = -pointSize * 0.5;
32
+ } else if (anchor == 6.0 || anchor == 7.0 || anchor == 8.0) {
33
+ offset.x = pointSize * 0.5;
34
+ }
35
+
36
+ // vertical alignment: 上边缘对准坐标 -> 向下移(图形在坐标下方); 下边缘对准坐标 -> 向上移(图形在坐标上方)
37
+ if (anchor == 1.0 || anchor == 2.0 || anchor == 8.0) {
38
+ offset.y = -pointSize * 0.5;
39
+ } else if (anchor == 4.0 || anchor == 5.0 || anchor == 6.0 || anchor == 9.0) {
40
+ offset.y = pointSize * 0.5;
41
+ }
42
+
43
+ return offset;
44
+ }
45
+
20
46
  void main() {
21
47
  // cal style mapping - 数据纹理映射部分的计算
22
48
  v_color = a_Color;
@@ -43,5 +69,10 @@ void main() {
43
69
  gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offset, raisingHeight, 1.0));
44
70
 
45
71
  gl_PointSize = a_Size * 2.0 * u_DevicePixelRatio;
72
+
73
+ // apply anchor offset in screen space
74
+ vec2 anchorOffset = applyAnchorPoint(anchor, gl_PointSize);
75
+ gl_Position.xy += anchorOffset / u_ViewportSize * 2.0 * gl_Position.w;
76
+
46
77
  setPickingColor(a_PickingColor);
47
78
  }
@@ -12,6 +12,32 @@ out vec4 v_color;
12
12
  #pragma include "projection"
13
13
  #pragma include "project"
14
14
 
15
+ // 根据 anchor 值计算点精灵的像素偏移
16
+ // anchor: 0=center, 1=top, 2=top-right, 3=right, 4=bottom-right, 5=bottom, 6=bottom-left, 7=left, 8=top-left, 9=bottom-center
17
+ vec2 applyAnchorPoint(float anchor, float pointSize) {
18
+ if (anchor < 0.5) {
19
+ return vec2(0.0);
20
+ }
21
+
22
+ vec2 offset = vec2(0.0);
23
+
24
+ // horizontal alignment: 左边缘对准坐标 -> 向右移; 右边缘对准坐标 -> 向左移
25
+ if (anchor == 2.0 || anchor == 3.0 || anchor == 4.0) {
26
+ offset.x = -pointSize * 0.5;
27
+ } else if (anchor == 6.0 || anchor == 7.0 || anchor == 8.0) {
28
+ offset.x = pointSize * 0.5;
29
+ }
30
+
31
+ // vertical alignment: 上边缘对准坐标 -> 向下移(图形在坐标下方); 下边缘对准坐标 -> 向上移(图形在坐标上方)
32
+ if (anchor == 1.0 || anchor == 2.0 || anchor == 8.0) {
33
+ offset.y = -pointSize * 0.5;
34
+ } else if (anchor == 4.0 || anchor == 5.0 || anchor == 6.0 || anchor == 9.0) {
35
+ offset.y = pointSize * 0.5;
36
+ }
37
+
38
+ return offset;
39
+ }
40
+
15
41
  void main() {
16
42
  v_color = vec4(a_Color.xyz, a_Color.w * opacity);
17
43
 
@@ -19,4 +45,8 @@ void main() {
19
45
  gl_Position = project_common_position_to_clipspace(project_pos);
20
46
 
21
47
  gl_PointSize = a_Size * u_size_scale * 2.0 * u_DevicePixelRatio;
48
+
49
+ // apply anchor offset in screen space
50
+ vec2 anchorOffset = applyAnchorPoint(anchor, gl_PointSize);
51
+ gl_Position.xy += anchorOffset / u_ViewportSize * 2.0 * gl_Position.w;
22
52
  }
@@ -19,6 +19,34 @@ out vec2 v_extrude;
19
19
  #pragma include "projection"
20
20
  #pragma include "picking"
21
21
 
22
+ // 根据 anchor 值计算 extrude 偏移
23
+ // anchor: 0=center, 1=top, 2=top-right, 3=right, 4=bottom-right, 5=bottom, 6=bottom-left, 7=left, 8=top-left, 9=bottom-center
24
+ vec2 applyAnchor(vec2 extrude, float anchor) {
25
+ if (anchor < 0.5) {
26
+ return extrude;
27
+ }
28
+
29
+ vec2 offset = vec2(0.0);
30
+
31
+ // horizontal alignment: 左边缘对准坐标 -> 向右移; 右边缘对准坐标 -> 向左移
32
+ if (anchor == 2.0 || anchor == 3.0 || anchor == 4.0) {
33
+ offset.x = -1.0;
34
+ } else if (anchor == 6.0 || anchor == 7.0 || anchor == 8.0) {
35
+ offset.x = 1.0;
36
+ }
37
+
38
+ // vertical alignment: 上边缘对准坐标 -> 向下移(图形在坐标下方); 下边缘对准坐标 -> 向上移(图形在坐标上方)
39
+ if (anchor == 1.0 || anchor == 2.0 || anchor == 8.0) {
40
+ // top, top-right, top-left -> shift down
41
+ offset.y = -1.0;
42
+ } else if (anchor == 4.0 || anchor == 5.0 || anchor == 6.0 || anchor == 9.0) {
43
+ // bottom-right, bottom, bottom-left, bottom-center -> shift up
44
+ offset.y = 1.0;
45
+ }
46
+
47
+ return extrude + offset;
48
+ }
49
+
22
50
  void main() {
23
51
  float newSize = setPickingSize(a_Size);
24
52
 
@@ -27,7 +55,10 @@ void main() {
27
55
  cos(time), sin(time),
28
56
  -sin(time), cos(time)
29
57
  );
30
- v_extrude = rotateMatrix * a_Extrude.xy;
58
+
59
+ // apply anchor to extrude direction before rotation
60
+ vec2 anchoredExtrude = applyAnchor(a_Extrude.xy, anchor);
61
+ v_extrude = rotateMatrix * anchoredExtrude;
31
62
 
32
63
  v_color = a_Color;
33
64
  v_color.a *= opacity;
@@ -40,11 +71,11 @@ void main() {
40
71
  }
41
72
  v_radius = newSize;
42
73
 
43
- vec2 offset = (a_Extrude.xy * (newSize));
74
+ vec2 offset = (anchoredExtrude * (newSize));
44
75
 
45
76
  offset = project_pixel(offset);
46
77
 
47
- v_data = vec4(a_Extrude.x, a_Extrude.y, antialiasblur, -1.0);
78
+ v_data = vec4(anchoredExtrude.x, anchoredExtrude.y, antialiasblur, -1.0);
48
79
 
49
80
  vec4 project_pos = project_position(vec4(a_Position.xy, 0.0, 1.0), a_Position64Low);
50
81
  gl_Position = project_common_position_to_clipspace(vec4(project_pos.xy + offset, project_pixel(setPickingOrder(0.0)), 1.0));
@@ -10,9 +10,10 @@ export default class ExtrudeModel extends BaseModel {
10
10
  readonly OPACITY: 5;
11
11
  readonly OFFSETS: 6;
12
12
  readonly ROTATION: 7;
13
- readonly MAX: 8;
13
+ readonly ANCHOR: 8;
14
+ readonly MAX: 9;
14
15
  } & Record<string, number> & {
15
- MAX: 8;
16
+ MAX: 9;
16
17
  SIZE: number;
17
18
  NORMAL: number;
18
19
  UV: number;
@@ -10,9 +10,10 @@ export default class ExtrusionModel extends BaseModel {
10
10
  readonly OPACITY: 5;
11
11
  readonly OFFSETS: 6;
12
12
  readonly ROTATION: 7;
13
- readonly MAX: 8;
13
+ readonly ANCHOR: 8;
14
+ readonly MAX: 9;
14
15
  } & Record<string, number> & {
15
- MAX: 8;
16
+ MAX: 9;
16
17
  SIZE: number;
17
18
  NORMAL: number;
18
19
  EXTRUSION_BASE: number;
@@ -10,9 +10,10 @@ export default class FillModel extends BaseModel {
10
10
  readonly OPACITY: 5;
11
11
  readonly OFFSETS: 6;
12
12
  readonly ROTATION: 7;
13
- readonly MAX: 8;
13
+ readonly ANCHOR: 8;
14
+ readonly MAX: 9;
14
15
  } & Record<string, number> & {
15
- MAX: 8;
16
+ MAX: 9;
16
17
  LINEAR: number;
17
18
  };
18
19
  getUninforms(): {
@@ -10,9 +10,10 @@ export default class OceanModel extends BaseModel {
10
10
  readonly OPACITY: 5;
11
11
  readonly OFFSETS: 6;
12
12
  readonly ROTATION: 7;
13
- readonly MAX: 8;
13
+ readonly ANCHOR: 8;
14
+ readonly MAX: 9;
14
15
  } & Record<string, number> & {
15
- MAX: 8;
16
+ MAX: 9;
16
17
  UV: number;
17
18
  };
18
19
  private texture1;
@@ -10,9 +10,10 @@ export default class WaterModel extends BaseModel {
10
10
  readonly OPACITY: 5;
11
11
  readonly OFFSETS: 6;
12
12
  readonly ROTATION: 7;
13
- readonly MAX: 8;
13
+ readonly ANCHOR: 8;
14
+ readonly MAX: 9;
14
15
  } & Record<string, number> & {
15
- MAX: 8;
16
+ MAX: 9;
16
17
  UV: number;
17
18
  };
18
19
  private texture;
@@ -10,9 +10,10 @@ export default class RasterModel extends BaseModel {
10
10
  readonly OPACITY: 5;
11
11
  readonly OFFSETS: 6;
12
12
  readonly ROTATION: 7;
13
- readonly MAX: 8;
13
+ readonly ANCHOR: 8;
14
+ readonly MAX: 9;
14
15
  } & Record<string, number> & {
15
- MAX: 8;
16
+ MAX: 9;
16
17
  UV: number;
17
18
  };
18
19
  protected texture: ITexture2D;
@@ -10,9 +10,10 @@ export default class RasterModel extends BaseModel {
10
10
  readonly OPACITY: 5;
11
11
  readonly OFFSETS: 6;
12
12
  readonly ROTATION: 7;
13
- readonly MAX: 8;
13
+ readonly ANCHOR: 8;
14
+ readonly MAX: 9;
14
15
  } & Record<string, number> & {
15
- MAX: 8;
16
+ MAX: 9;
16
17
  UV: number;
17
18
  };
18
19
  protected texture: ITexture2D;
@@ -10,9 +10,10 @@ export default class RasterTerrainRGB extends BaseModel {
10
10
  readonly OPACITY: 5;
11
11
  readonly OFFSETS: 6;
12
12
  readonly ROTATION: 7;
13
- readonly MAX: 8;
13
+ readonly ANCHOR: 8;
14
+ readonly MAX: 9;
14
15
  } & Record<string, number> & {
15
- MAX: 8;
16
+ MAX: 9;
16
17
  UV: number;
17
18
  };
18
19
  protected texture: ITexture2D;
@@ -85,7 +85,7 @@ export default abstract class Tile extends EventEmitter implements ITile {
85
85
  pickBufferScale?: number | undefined;
86
86
  stencil?: boolean | undefined;
87
87
  debug?: boolean | undefined;
88
- renderer?: "regl" | "device" | undefined;
88
+ renderer?: "device" | "regl" | undefined;
89
89
  antialias?: boolean | undefined;
90
90
  preserveDrawingBuffer?: boolean | undefined;
91
91
  enableWebGPU?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  import LineLayer from '../../line';
2
2
  import PointLayer from '../../point/index';
3
3
  import PolygonLayer from '../../polygon';
4
- export declare function getTileLayer(type: string): typeof PolygonLayer | typeof LineLayer | typeof PointLayer;
4
+ export declare function getTileLayer(type: string): typeof PointLayer | typeof PolygonLayer | typeof LineLayer;
5
5
  export declare function isNeedMask(type: string): boolean;
@@ -2,7 +2,7 @@ interface IPoint {
2
2
  x: number;
3
3
  y: number;
4
4
  }
5
- export type anchorType = 'right' | 'top-right' | 'left' | 'bottom-right' | 'left' | 'top-left' | 'bottom-left' | 'bottom' | 'bottom-right' | 'bottom-left' | 'top' | 'top-right' | 'top-left' | 'center';
5
+ export type anchorType = 'center' | 'top' | 'top-right' | 'right' | 'bottom-right' | 'bottom' | 'bottom-left' | 'left' | 'top-left' | 'bottom-center';
6
6
  export interface IGlyphQuad {
7
7
  tr: IPoint;
8
8
  tl: IPoint;
@@ -28,14 +28,15 @@ function getAnchorAlignment(anchor) {
28
28
  horizontalAlign = 0.5;
29
29
  }
30
30
  switch (anchor) {
31
- case 'bottom':
32
- case 'bottom-right':
33
- case 'bottom-left':
34
- verticalAlign = 1;
35
- break;
36
31
  case 'top':
37
32
  case 'top-right':
38
33
  case 'top-left':
34
+ verticalAlign = 1;
35
+ break;
36
+ case 'bottom':
37
+ case 'bottom-right':
38
+ case 'bottom-left':
39
+ case 'bottom-center':
39
40
  verticalAlign = 0;
40
41
  break;
41
42
  default:
@@ -66,9 +67,18 @@ function justifyLine(positionedGlyphs, glyphMap, start, end, justify) {
66
67
  // justify right=1 left=0 center=0.5
67
68
  // horizontalAlign right=1 left=0 center=0.5
68
69
  // verticalAlign right=1 left=0 center=0.5
69
- function align(positionedGlyphs, justify, horizontalAlign, verticalAlign, maxLineLength, lineHeight, lineCount) {
70
+ function align(positionedGlyphs, justify, horizontalAlign, verticalAlign, maxLineLength, lineHeight, lineCount, yOffset) {
70
71
  const shiftX = (justify - horizontalAlign) * maxLineLength;
71
- const shiftY = (-verticalAlign * lineCount + 0.5) * lineHeight;
72
+ let shiftY = (-verticalAlign * lineCount + 0.5) * lineHeight;
73
+
74
+ // 补偿 yOffset 使 top/bottom 锚点正确对齐
75
+ // top: 文字往下移 |yOffset| 像素(远离坐标点)
76
+ // bottom: 文字往上移 |yOffset| 像素(远离坐标点)
77
+ if (verticalAlign === 1) {
78
+ shiftY += yOffset;
79
+ } else if (verticalAlign === 0) {
80
+ shiftY -= yOffset;
81
+ }
72
82
  for (const glyphs of positionedGlyphs) {
73
83
  glyphs.x += shiftX;
74
84
  glyphs.y += shiftY;
@@ -114,7 +124,7 @@ function shapeLines(shaping, glyphMap, lines, lineHeight, textAnchor, textJustif
114
124
  horizontalAlign,
115
125
  verticalAlign
116
126
  } = getAnchorAlignment(textAnchor);
117
- align(positionedGlyphs, justify, horizontalAlign, verticalAlign, maxLineLength, lineHeight, lines.length);
127
+ align(positionedGlyphs, justify, horizontalAlign, verticalAlign, maxLineLength, lineHeight, lines.length, yOffset);
118
128
 
119
129
  // 计算包围盒
120
130
  const height = y - yOffset;
@@ -167,7 +177,7 @@ function shapeIconFont(shaping, glyphMap, iconfonts, lineHeight, textAnchor, tex
167
177
  horizontalAlign,
168
178
  verticalAlign
169
179
  } = getAnchorAlignment(textAnchor);
170
- align(positionedGlyphs, justify, horizontalAlign, verticalAlign, maxLineLength, lineHeight, iconfonts.length);
180
+ align(positionedGlyphs, justify, horizontalAlign, verticalAlign, maxLineLength, lineHeight, iconfonts.length, yOffset);
171
181
 
172
182
  // 计算包围盒
173
183
  const height = y - yOffset;
@@ -10,9 +10,10 @@ export default class WindModel extends BaseModel {
10
10
  readonly OPACITY: 5;
11
11
  readonly OFFSETS: 6;
12
12
  readonly ROTATION: 7;
13
- readonly MAX: 8;
13
+ readonly ANCHOR: 8;
14
+ readonly MAX: 9;
14
15
  } & Record<string, number> & {
15
- MAX: 8;
16
+ MAX: 9;
16
17
  UV: number;
17
18
  };
18
19
  protected texture: ITexture2D;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-layers",
3
- "version": "2.25.10",
3
+ "version": "2.28.10",
4
4
  "description": "L7's collection of built-in layers",
5
5
  "license": "MIT",
6
6
  "author": "https://github.com/orgs/antvis/people",
@@ -26,15 +26,15 @@
26
26
  "earcut": "^2.2.1",
27
27
  "eventemitter3": "^4.0.0",
28
28
  "gl-matrix": "^3.1.0",
29
- "@antv/l7-core": "2.25.10",
30
- "@antv/l7-maps": "2.25.10",
31
- "@antv/l7-utils": "2.25.10",
32
- "@antv/l7-source": "2.25.10"
29
+ "@antv/l7-core": "2.28.10",
30
+ "@antv/l7-maps": "2.28.10",
31
+ "@antv/l7-source": "2.28.10",
32
+ "@antv/l7-utils": "2.28.10"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/earcut": "^2.1.0",
36
36
  "@types/gl-matrix": "^2.4.5",
37
- "@antv/l7-test-utils": "^2.25.10"
37
+ "@antv/l7-test-utils": "^2.28.10"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public",