Skip to content

Releases: maptalks/maptalks.three

v0.12.0

02 Nov 14:17
Compare
Choose a tag to compare
0.12.0

v0.11.5

11 Sep 13:12
Compare
Choose a tag to compare
0.11.5

v0.11.3

15 Jul 00:00
Compare
Choose a tag to compare
0.11.3

v0.11.2

22 Jun 11:44
7aba2cb
Compare
Choose a tag to compare
0.11.2 (#168)

* update examples

* 0.11.2

v0.11.1

21 May 07:13
90efd1c
Compare
Choose a tag to compare
  • fix lines pick bug

  • fix gpupick bug on High score screen

v0.11.0

20 May 03:16
8ee1a3a
Compare
Choose a tag to compare
  • fatline support
  • fatlines support
  • gpupick support

v0.10.1

12 Mar 14:09
8498573
Compare
Choose a tag to compare
0.10.1 (#125)

v0.9.0

23 Feb 08:25
f42e8ef
Compare
Choose a tag to compare
0.9.0 (#115)

v0.8.0

19 Feb 08:13
2fad636
Compare
Choose a tag to compare

v0.8.0

Fixes

  • Minified dist is not compatible with maptalks@next #106

  • Compatibility with maptalks@next #105

v0.7.1

08 Jan 07:42
53fbe3a
Compare
Choose a tag to compare

v0.7.1

Features

  • add ThreeVectorTileLayer provide a simple function layer of vector slicing. more#95.
            vectortilelayer = threeLayer.toThreeVectorTileLayer('http://localhost:9090/tile/{z}/{x}/{y}',
                {
                    ...baseConfig,
                    // debug: true,
                    interactive: false,
                    worker: true
                }, getMaterial);

            vectortilelayer.onSelectMesh = onSelectMesh;

            //自定义数据访问方法
            vectortilelayer.getTileData = function (q) {
                const { key, url, callback, img } = q;
                axios.get(url, {
                    timeout: 10000
                }).then(function (response) {
                    // handle success
                    //模拟ajax延时,可以防止单位时间内多个数据同时返回,从而导致单位时间内处理多个mesh导致掉帧
                    setTimeout(() => {
                        callback(key, response.data, img);
                    }, 400 * Math.random());

                }).catch(function (error) {
                    console.error(error);
                    callback(key, null, img);
                }).finally(() => {

                });
            }
            map.addLayer(vectortilelayer);
  • ThreeLayer add more method .
    • toThreeVectorTileLayer #95.

Fixes

  • npm package is huge #97
  • warn about THREE.BufferGeometryUtils . more#98
  • scene rendering multiple times in one rendering . more #88

Enhance

More Examples

  • vectortilelayer-mvt
  • vectortilelayer-geojson-vt