Commit Graph

182 Commits

Author SHA1 Message Date
yuqi.pyq a21ad99d27 Merge branch 'master' into dev-lighting 2019-06-21 16:58:49 +08:00
yuqi.pyq 32cdcf83f3 feat(polygon-layer): 支持多个平行光源配置 2019-06-21 16:50:51 +08:00
thinkinggis 4fc0106b61 Merge branch 'dev-2d-df' into 'master'
feat(point-layer): use 2d sdf functions

PointLayer 中使用 2D 距离场绘制,支持描边、反走样效果。

目前支持以下基础图形:
`'circle', 'triangle', 'square', 'pentagon', 'hexagon', 'octogon', 'hexagram', 'rhombus', 'vesica'`


同时支持映射数据到形状:
```
.shape('point_count', [ 'circle', 'triangle', 'hexagon' ])
```

See merge request !32
2019-06-18 19:31:01 +08:00
yuqi.pyq ea548edaa6 feat(point-layer): use 2d sdf functions 2019-06-18 18:23:51 +08:00
yuqi.pyq f8269ee35b feat: lighting 2019-06-13 19:47:49 +08:00
thinkinggis a233c588f4 Merge branch 'dev-vertex-compression' into 'master'
Dev vertex compression

对于 point layer(circle) 压缩顶点数据
https://yuque.antfin-inc.com/yuqi.pyq/fgetpa/wxv543#xzVLo

优化后每个顶点只需要一个 vec4 存储颜色、pickingId 等数据:
vec4(color, color, pickingId, (extrude.x, extrude.y, radius))

See merge request !31
2019-05-30 16:45:40 +08:00
yuqi.pyq 865875d478 fix(point-layer): adjust shift bits in vertex compression 2019-05-30 16:26:34 +08:00
yuqi.pyq ef2a9dd957 feat(point-layer): vertex compression 2019-05-29 20:37:23 +08:00
yuqi.pyq e8704a1e7e feat(point-layer): optimize 2d circle 2019-05-29 14:22:07 +08:00
yuqi.pyq dd8fcfab7a fix: bevel joint in dashline 2019-05-28 19:37:47 +08:00
thinkinggis 27f6f4dfbc Merge branch 'mvt' into 'master'
Mvt

Vector 瓦片

See merge request !30
2019-05-28 17:39:57 +08:00
thinkinggis 1491a7b0aa fix(line): default activeId 2019-05-28 17:39:02 +08:00
thinkinggis a22ef03ec8 fix(merge master conflict 2019-05-28 15:29:56 +08:00
thinkinggis 4c59dcd8ca fix(line) size 2019-05-28 11:50:07 +08:00
thinkinggis 0888f31769 fix(tile): vectorMap 2019-05-28 11:35:31 +08:00
thinkinggis 6c0992b6ec Merge branch 'dev-optimize-line' into 'master'
feat: support bevel joint, dashline & anti-alias

主要改进了 3 点:
1. 超过阈值(非常小的锐角)时,miter 接头转成 bevel 接头
2. 支持虚线 demo/dashline.html
3. anti-alias 边缘反走样,可配置模糊半径

See merge request !29
2019-05-28 11:34:54 +08:00
yuqi.pyq 393c5d0c5a feat: support bevel joint, dashline & anti-alias 2019-05-27 20:42:17 +08:00
thinkinggis cef72bc497 fix(tilelayer): point pickup 2019-05-27 14:14:45 +08:00
thinkinggis b6d2109a68 feat(tile): fix point tile layer 2019-05-27 10:55:28 +08:00
thinkinggis 44d405ce93 refactor(layer): add register render 2019-05-16 21:43:23 +08:00
thinkinggis 2ceb4069e6 Merge branch 'master' into mvt 2019-05-14 17:44:03 +08:00
thinkinggis 9be646b8ab fix(Amap): fix mapstyle 2019-05-14 17:42:46 +08:00
thinkinggis fb26f6e5e8 feat(tilelayer): add mask 2019-05-14 17:10:19 +08:00
thinkinggis 2da2c1f2af fix(heatmap): setValue 2019-05-07 19:52:33 +08:00
thinkinggis 91df69fd62 Merge branch 'tile' into 'master'
Tile

增加Image Tile Layer
过滤无效的geojson数据

See merge request !28
2019-05-06 15:20:32 +08:00
thinkinggis 97af34f595 fix(scene): render 2019-05-06 13:57:09 +08:00
thinkinggis 6428c2c55b Merge branch 'master' into tile 2019-05-06 12:05:01 +08:00
thinkinggis 5f7941d09a fix tile layer caculate tile lod 2019-05-06 11:54:32 +08:00
thinkinggis 1009044a5c Merge branch 'fix-raster' into 'master'
Fix raster

解决 type array clone 导致栅格数据渲染失败的问题

See merge request !27
2019-04-29 19:57:16 +08:00
thinkinggis 29bcb5d300 fix(raster): layer clone typeArray 2019-04-29 18:16:04 +08:00
thinkinggis 2702f028b0 fix(source): geojson parser filter invalid 2019-04-24 09:44:03 +08:00
thinkinggis af7ead3443 Merge branch 'master' into tile 2019-04-23 10:23:01 +08:00
thinkinggis 9d8bfb159a fix(geojson): geometry is null 2019-04-23 10:22:22 +08:00
thinkinggis 7101abcd0b fix test 2019-04-19 11:51:22 +08:00
thinkinggis ab11b98e54 feat(tile): add image tile layer 2019-04-18 22:28:17 +08:00
thinkinggis 6dd6c5dd01 feat(tile): add tile 2019-04-17 15:41:26 +08:00
thinkinggis 71d810a20a Merge branch 'map' into 'master'
Map

L7 实例化支持传入地图实例

See merge request !26
2019-04-16 11:24:16 +08:00
thinkinggis f0db13e711 feat(scene): 实例化支持传入地图实例 2019-04-15 21:20:58 +08:00
thinkinggis 642a841f10 fix(source): cluster layer 2019-04-10 20:51:57 +08:00
thinkinggis 66f0e94fa4 fix(imagedata): image from origin data 2019-04-10 19:50:29 +08:00
thinkinggis 3ed533776c Merge branch 'feat-layer-repaint' into 'master'
Feat layer repaint

更新 supercluster 引入类型

See merge request !25
2019-04-10 19:30:43 +08:00
thinkinggis ccc2dfdcac Merge branch 'master' into feat-layer-repaint 2019-04-10 19:28:53 +08:00
thinkinggis b00bcaf150 fix(source): import supercluster 2019-04-10 19:28:25 +08:00
thinkinggis 5f4413214d update module versions 2019-04-10 17:21:19 +08:00
thinkinggis 640e1737c3 update version 1.1.9 2019-04-10 17:05:05 +08:00
thinkinggis 412d10d40b Merge branch 'master' of gitlab.alipay-inc.com:datavis/L7_beta 2019-04-10 16:25:10 +08:00
thinkinggis 4b0da460d4 Merge branch 'feat-layer-repaint' into 'master'
Feat layer repaint

增加图层更新机制

See merge request !24
2019-04-10 16:22:38 +08:00
thinkinggis 14b261c2bc fix(gloal): snap 2019-04-09 21:46:10 +08:00
thinkinggis a290efb787 feat(interaction): add hash 2019-04-04 10:07:49 +08:00
thinkinggis 181d7bc42f feat(layer): add tile 2019-04-02 11:59:43 +08:00