@maptalks/vt 0.64.1 → 0.64.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.64.1
2
+ * @maptalks/vt v0.64.2
3
3
  * LICENSE : undefined
4
4
  * (c) 2016-2022 maptalks.org
5
5
  */
@@ -13562,7 +13562,7 @@
13562
13562
  }
13563
13563
  be(t) {
13564
13564
  let e = this.plugins || [];
13565
- return this.layer.isDefaultRender() && this.$e && (e = [], t ? t.layers.forEach(t => {
13565
+ return this.layer.isDefaultRender() && this.$e && (e = [], t ? t.layers && t.layers.forEach(t => {
13566
13566
  const i = ("plugin_" + t.type).trim();
13567
13567
  e.push(this.$e[t.layer][i].plugin);
13568
13568
  }) : Object.keys(this.$e).forEach(t => {
@@ -21130,7 +21130,7 @@
21130
21130
  const Th = $a("water", dh);
21131
21131
  Th.registerAt(Gs), ia.registerPainter("lit", Zc), ia.registerPainter("icon", sc),
21132
21132
  ia.registerPainter("fill", Nl), ia.registerPainter("line", Dl), ia.registerPainter("line-gradient", Ll),
21133
- ia.registerPainter("water", dh), Gs.VERSION = "0.64.1", ia.VERSION = "0.64.1";
21133
+ ia.registerPainter("water", dh), Gs.VERSION = "0.64.2", ia.VERSION = "0.64.2";
21134
21134
  if (o.mat4.create(), o.transcoders) {
21135
21135
  const t = r.Map.VERSION;
21136
21136
  if (t.indexOf("1.0.0-beta") >= 0 || t.indexOf("1.0.0-alpha") >= 0) {
@@ -21150,5 +21150,5 @@
21150
21150
  t.VectorTileLayerRenderer = zs, t.WaterPlugin = Th, t.WireframePainter = Xc, t.WireframePlugin = wh,
21151
21151
  Object.defineProperty(t, "t", {
21152
21152
  value: !0
21153
- }), "undefined" != typeof console && console.log("@maptalks/vt v0.64.1");
21153
+ }), "undefined" != typeof console && console.log("@maptalks/vt v0.64.2");
21154
21154
  }));
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @maptalks/vt v0.64.1
2
+ * @maptalks/vt v0.64.2
3
3
  * LICENSE : undefined
4
4
  * (c) 2016-2022 maptalks.org
5
5
  */
@@ -9680,7 +9680,7 @@ class Vi extends t.renderer.TileLayerCanvasRenderer {
9680
9680
  }
9681
9681
  wt(t) {
9682
9682
  let e = this.plugins || [];
9683
- return this.layer.isDefaultRender() && this.Jt && (e = [], t ? t.layers.forEach(t => {
9683
+ return this.layer.isDefaultRender() && this.Jt && (e = [], t ? t.layers && t.layers.forEach(t => {
9684
9684
  const i = ("plugin_" + t.type).trim();
9685
9685
  e.push(this.Jt[t.layer][i].plugin);
9686
9686
  }) : Object.keys(this.Jt).forEach(t => {
@@ -17291,7 +17291,7 @@ const va = Nn("water", oa);
17291
17291
 
17292
17292
  va.registerAt(Zi), un.registerPainter("lit", Ws), un.registerPainter("icon", Zo),
17293
17293
  un.registerPainter("fill", Sr), un.registerPainter("line", Ir), un.registerPainter("line-gradient", jr),
17294
- un.registerPainter("water", oa), Zi.VERSION = "0.64.1", un.VERSION = "0.64.1";
17294
+ un.registerPainter("water", oa), Zi.VERSION = "0.64.2", un.VERSION = "0.64.2";
17295
17295
 
17296
17296
  if (e.mat4.create(), e.transcoders) {
17297
17297
  const i = t.Map.VERSION;
@@ -17305,4 +17305,4 @@ if (e.mat4.create(), e.transcoders) {
17305
17305
 
17306
17306
  export { Sr as FillPainter, aa as FillPlugin, ya as GLTFPhongPlugin, ga as GLTFStandardPlugin, sn as GeoJSONVectorTileLayer, ba as HeatmapPlugin, Zo as IconPainter, ca as IconPlugin, ua as LineGradientPlugin, Ir as LinePainter, la as LinePlugin, On as LineStringLayer, ma as LitPlugin, rn as MapboxVectorTileLayer, Cs as NativeLinePainter, da as NativeLinePlugin, Ps as NativePointPainter, Ls as PhongPainter, pa as PhongPlugin, jn as PointLayer, Pn as PolygonLayer, Ss as TextPainter, ha as TextPlugin, un as Vector3DLayer, Zi as VectorTileLayer, Vi as VectorTileLayerRenderer, va as WaterPlugin, qs as WireframePainter, fa as WireframePlugin };
17307
17307
 
17308
- "undefined" != typeof console && console.log("@maptalks/vt v0.64.1");
17308
+ "undefined" != typeof console && console.log("@maptalks/vt v0.64.2");
package/package.json CHANGED
@@ -1,64 +1,64 @@
1
- {
2
- "name": "@maptalks/vt",
3
- "version": "0.64.1",
4
- "description": "The vector-tile plugin for maptalks.js",
5
- "main": "dist/maptalks.vt.js",
6
- "browser": "dist/maptalks.vt.js",
7
- "module": "dist/maptalks.vt.mjs",
8
- "files": [
9
- "dist/maptalks.vt.js",
10
- "dist/maptalks.vt.mjs"
11
- ],
12
- "scripts": {
13
- "lint": "eslint src/**/*.js test/**/*.js",
14
- "dev": "rollup -w -c build/rollup.config.js",
15
- "build": "cd ../vector-packer && npm run build && cd ../vt && rollup --environment BUILD:production -c build/rollup.config.js",
16
- "build-dev": "rollup -c build/rollup.config.js",
17
- "test": "electron-mocha --require-main ./test/ignore-gpu-blacklist.js --renderer ./test/**/*.spec.js",
18
- "tdd": "electron-mocha --interactive --renderer ./test/**/*.spec.js",
19
- "pretest": "npm run lint && npm run build",
20
- "prepare": "npm run build",
21
- "preversion": "npm test"
22
- },
23
- "dependencies": {
24
- "@mapbox/mapbox-gl-style-spec": "^13.24.0-alpha.6",
25
- "@mapbox/point-geometry": "^0.1.0",
26
- "@mapbox/vector-tile": "^1.3.0",
27
- "@maptalks/feature-filter": "^1.0.0",
28
- "@maptalks/function-type": "^1.2.3",
29
- "@maptalks/geojson-bbox": "^1.0.4",
30
- "@maptalks/geojson-vt": "^3.2.1",
31
- "@maptalks/gl": "<2.0.0",
32
- "@maptalks/tbn-packer": "^1.2.8",
33
- "@maptalks/vector-packer": "^0.64.1",
34
- "@maptalks/vt-plugin": "^0.64.0",
35
- "animation-easings": "^0.1.0",
36
- "color": "^3.0.0",
37
- "earcut": "^2.2.1",
38
- "fast-deep-equal": "^2.0.1",
39
- "gl-matrix": "^2.6.1",
40
- "pbf": "^3.0.5",
41
- "quickselect": "^1.0.0",
42
- "rbush": "^2.0.2",
43
- "vt-pbf": "^3.1.0"
44
- },
45
- "devDependencies": {
46
- "@babel/eslint-parser": "^7.15.0",
47
- "@babel/preset-env": "^7.15.0",
48
- "@maptalks/rollup-plugin-glsl-minify": "^0.1.7",
49
- "@rollup/plugin-commonjs": "^20.0.0",
50
- "@rollup/plugin-json": "^4.1.0",
51
- "@rollup/plugin-node-resolve": "^13.0.4",
52
- "@rollup/plugin-replace": "4.0.0",
53
- "electron": "^4.2.12",
54
- "electron-mocha": "^6.0.4",
55
- "eslint": "^7.32.0",
56
- "eslint-plugin-mocha": "^9.0.0",
57
- "maptalks": "^1.0.0-rc.4",
58
- "mocha": "^9.0.3",
59
- "pixelmatch": "^4.0.2",
60
- "rollup": "^2.56.2",
61
- "rollup-plugin-terser": "^5.3.1"
62
- },
63
- "gitHead": "36a6954658f5a3aff0fe84dd79964ee7f1317b06"
64
- }
1
+ {
2
+ "name": "@maptalks/vt",
3
+ "version": "0.64.2",
4
+ "description": "The vector-tile plugin for maptalks.js",
5
+ "main": "dist/maptalks.vt.js",
6
+ "browser": "dist/maptalks.vt.js",
7
+ "module": "dist/maptalks.vt.mjs",
8
+ "files": [
9
+ "dist/maptalks.vt.js",
10
+ "dist/maptalks.vt.mjs"
11
+ ],
12
+ "scripts": {
13
+ "lint": "eslint src/**/*.js test/**/*.js",
14
+ "dev": "rollup -w -c build/rollup.config.js",
15
+ "build": "cd ../vector-packer && npm run build && cd ../vt && rollup --environment BUILD:production -c build/rollup.config.js",
16
+ "build-dev": "rollup -c build/rollup.config.js",
17
+ "test": "electron-mocha --require-main ./test/ignore-gpu-blacklist.js --renderer ./test/**/*.spec.js",
18
+ "tdd": "electron-mocha --interactive --renderer ./test/**/*.spec.js",
19
+ "pretest": "npm run lint && npm run build",
20
+ "prepare": "npm run build",
21
+ "preversion": "npm test"
22
+ },
23
+ "dependencies": {
24
+ "@mapbox/mapbox-gl-style-spec": "^13.24.0-alpha.6",
25
+ "@mapbox/point-geometry": "^0.1.0",
26
+ "@mapbox/vector-tile": "^1.3.0",
27
+ "@maptalks/feature-filter": "^1.0.0",
28
+ "@maptalks/function-type": "^1.2.3",
29
+ "@maptalks/geojson-bbox": "^1.0.4",
30
+ "@maptalks/geojson-vt": "^3.2.1",
31
+ "@maptalks/gl": "<2.0.0",
32
+ "@maptalks/tbn-packer": "^1.2.8",
33
+ "@maptalks/vector-packer": "^0.64.1",
34
+ "@maptalks/vt-plugin": "^0.64.0",
35
+ "animation-easings": "^0.1.0",
36
+ "color": "^3.0.0",
37
+ "earcut": "^2.2.1",
38
+ "fast-deep-equal": "^2.0.1",
39
+ "gl-matrix": "^2.6.1",
40
+ "pbf": "^3.0.5",
41
+ "quickselect": "^1.0.0",
42
+ "rbush": "^2.0.2",
43
+ "vt-pbf": "^3.1.0"
44
+ },
45
+ "devDependencies": {
46
+ "@babel/eslint-parser": "^7.15.0",
47
+ "@babel/preset-env": "^7.15.0",
48
+ "@maptalks/rollup-plugin-glsl-minify": "^0.1.7",
49
+ "@rollup/plugin-commonjs": "^20.0.0",
50
+ "@rollup/plugin-json": "^4.1.0",
51
+ "@rollup/plugin-node-resolve": "^13.0.4",
52
+ "@rollup/plugin-replace": "4.0.0",
53
+ "electron": "^4.2.12",
54
+ "electron-mocha": "^6.0.4",
55
+ "eslint": "^7.32.0",
56
+ "eslint-plugin-mocha": "^9.0.0",
57
+ "maptalks": "^1.0.0-rc.4",
58
+ "mocha": "^9.0.3",
59
+ "pixelmatch": "^4.0.2",
60
+ "rollup": "^2.56.2",
61
+ "rollup-plugin-terser": "^5.3.1"
62
+ },
63
+ "gitHead": "36a6954658f5a3aff0fe84dd79964ee7f1317b06"
64
+ }