@maptalks/vt 0.66.1 → 0.66.2

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @maptalks/vt v0.66.1
2
+ * @maptalks/vt v0.66.2
3
3
  * LICENSE : undefined
4
4
  * (c) 2016-2022 maptalks.org
5
5
  */
@@ -21364,7 +21364,7 @@
21364
21364
  Kh.registerAt(la), va.registerPainter("lit", Ah), va.registerPainter("icon", Mc),
21365
21365
  va.registerPainter("fill", iu), va.registerPainter("line", ou), va.registerPainter("line-gradient", su),
21366
21366
  va.registerPainter("water", Nh), n.reshader.ShaderLib.register("vt_position_vert", "#ifdef HAS_ALTITUDE\n vec3 unpackVTPosition() {\n return vec3(aPosition, aAltitude);\n }\n#else\n float position_modValue = 16384.0;\n float position_delta = 0.00001;\n vec3 unpackVTPosition() {\n float z = aPosition.z;\n vec2 pos = sign(aPosition.xy + position_delta) * mod(abs(aPosition.xy), position_modValue);\n vec2 highs = floor(abs(aPosition.xy) / position_modValue);\n float altitude = sign(z + position_delta) * (highs.x * 2.0 + highs.y) * pow(2.0, 15.0) + z;\n return vec3(pos, altitude);\n }\n#endif"),
21367
- la.VERSION = "0.66.1", va.VERSION = "0.66.1";
21367
+ la.VERSION = "0.66.2", va.VERSION = "0.66.2";
21368
21368
  if (o.mat4.create(), o.transcoders) {
21369
21369
  const t = r.Map.VERSION;
21370
21370
  if (t.indexOf("1.0.0-beta") >= 0 || t.indexOf("1.0.0-alpha") >= 0) {
@@ -21380,9 +21380,9 @@
21380
21380
  t.LitPlugin = Xh, t.MapboxVectorTileLayer = fa, t.NativeLinePainter = dh, t.NativeLinePlugin = Gh,
21381
21381
  t.NativePointPainter = ch, t.PackUtil = Cs, t.PhongPainter = bh, t.PhongPlugin = $h,
21382
21382
  t.PointLayer = Ua, t.PolygonLayer = Ga, t.SYMBOLS_NEED_REBUILD_IN_VECTOR = Ds, t.SYMBOLS_NEED_REBUILD_IN_VT = Rs,
21383
- t.TextPainter = oh, t.TextPlugin = Wh, t.Util = jn, t.Vector3DLayer = va, t.VectorTileLayer = la,
21383
+ t.TextPainter = oh, t.TextPlugin = Wh, t.VTUtil = jn, t.Vector3DLayer = va, t.VectorTileLayer = la,
21384
21384
  t.VectorTileLayerRenderer = Ys, t.WaterPlugin = Kh, t.WireframePainter = xh, t.WireframePlugin = Bh,
21385
21385
  Object.defineProperty(t, "t", {
21386
21386
  value: !0
21387
- }), "undefined" != typeof console && console.log("@maptalks/vt v0.66.1");
21387
+ }), "undefined" != typeof console && console.log("@maptalks/vt v0.66.2");
21388
21388
  }));
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @maptalks/vt v0.66.1
2
+ * @maptalks/vt v0.66.2
3
3
  * LICENSE : undefined
4
4
  * (c) 2016-2022 maptalks.org
5
5
  */
@@ -17428,7 +17428,7 @@ const Ea = $i("water", xa);
17428
17428
  Ea.registerAt(ri), mi.registerPainter("lit", oa), mi.registerPainter("icon", as),
17429
17429
  mi.registerPainter("fill", Rr), mi.registerPainter("line", Dr), mi.registerPainter("line-gradient", Lr),
17430
17430
  mi.registerPainter("water", xa), n.ShaderLib.register("vt_position_vert", "#ifdef HAS_ALTITUDE\n vec3 unpackVTPosition() {\n return vec3(aPosition, aAltitude);\n }\n#else\n float position_modValue = 16384.0;\n float position_delta = 0.00001;\n vec3 unpackVTPosition() {\n float z = aPosition.z;\n vec2 pos = sign(aPosition.xy + position_delta) * mod(abs(aPosition.xy), position_modValue);\n vec2 highs = floor(abs(aPosition.xy) / position_modValue);\n float altitude = sign(z + position_delta) * (highs.x * 2.0 + highs.y) * pow(2.0, 15.0) + z;\n return vec3(pos, altitude);\n }\n#endif"),
17431
- ri.VERSION = "0.66.1", mi.VERSION = "0.66.1";
17431
+ ri.VERSION = "0.66.2", mi.VERSION = "0.66.2";
17432
17432
 
17433
17433
  if (e.mat4.create(), e.transcoders) {
17434
17434
  const n = t.Map.VERSION;
@@ -17440,6 +17440,6 @@ if (e.mat4.create(), e.transcoders) {
17440
17440
  }));
17441
17441
  } else t.registerWorkerAdapter("@maptalks/vt", F);
17442
17442
 
17443
- export { Rr as FillPainter, ka as FillPlugin, Oa as GLTFPhongPlugin, za as GLTFStandardPlugin, di as GeoJSONVectorTileLayer, Ca as HeatmapPlugin, as as IconPainter, _a as IconPlugin, Ta as LineGradientPlugin, Dr as LinePainter, Aa as LinePlugin, Li as LineStringLayer, ja as LitPlugin, ci as MapboxVectorTileLayer, Xs as NativeLinePainter, Ma as NativeLinePlugin, $s as NativePointPainter, ta as PhongPainter, Ia as PhongPlugin, Di as PointLayer, qi as PolygonLayer, qs as TextPainter, Sa as TextPlugin, Nn as Util, mi as Vector3DLayer, ri as VectorTileLayer, Yn as VectorTileLayerRenderer, Ea as WaterPlugin, na as WireframePainter, Pa as WireframePlugin };
17443
+ export { Rr as FillPainter, ka as FillPlugin, Oa as GLTFPhongPlugin, za as GLTFStandardPlugin, di as GeoJSONVectorTileLayer, Ca as HeatmapPlugin, as as IconPainter, _a as IconPlugin, Ta as LineGradientPlugin, Dr as LinePainter, Aa as LinePlugin, Li as LineStringLayer, ja as LitPlugin, ci as MapboxVectorTileLayer, Xs as NativeLinePainter, Ma as NativeLinePlugin, $s as NativePointPainter, ta as PhongPainter, Ia as PhongPlugin, Di as PointLayer, qi as PolygonLayer, qs as TextPainter, Sa as TextPlugin, Nn as VTUtil, mi as Vector3DLayer, ri as VectorTileLayer, Yn as VectorTileLayerRenderer, Ea as WaterPlugin, na as WireframePainter, Pa as WireframePlugin };
17444
17444
 
17445
- "undefined" != typeof console && console.log("@maptalks/vt v0.66.1");
17445
+ "undefined" != typeof console && console.log("@maptalks/vt v0.66.2");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptalks/vt",
3
- "version": "0.66.1",
3
+ "version": "0.66.2",
4
4
  "description": "The vector-tile plugin for maptalks.js",
5
5
  "main": "dist/maptalks.vt.js",
6
6
  "browser": "dist/maptalks.vt.js",