Go to file
YiQianYao b9ef553c1b
Shihui (#985)
* feat: 增加 bloomPass1.0、修改渲染流程,让 multiPass 有正确的渲染顺序

* style: lint style

* feat: 取消 bloom 在 postprocessor 中的多次渲染(没有明显优化)

* feat: polygon extrude 模式支持配置固定高度

* style: lint style

* feat: 优化后处理 bloom 的效果

* feat: 修改交替绘制 bloom 的写法

* style: lint style

* feat: 完善 iconService 加载渲染和销毁

* style: lint style

* feat: 补全 mapbox 模式下等面积点

* style: lint style

* fix: 修复 pointLayer animate 模式 opacity 失效

* style: lint style

* feat: 拆分 pointLayer 的 shader

* style: lint sytle

* feat: 拆分 lineLayer 的 linear 模式

* style: lint style

* feat: 优化点击的拾取判断

* style: lint style

* feat: 取消圆柱 shader 中的三元表达式、增强健壮性

* feat: 点图层圆柱体支持固定高度配置 heightfixed

* feat: 点图层圆柱体支持拾取高亮颜色的光照计算

* style: lint style

* style: lint style

* feat: 拆分 lintLayer line 模式下的 dash line

* style: lint style

* feat: lineLayer simpleline 的 linear shader 代码拆分

* style: lint style

* feat: 拆分 lineLayer arcLine linear shader  代码

* style: line style

* feat: lineLayer arc line 在 shader 中移除 linear 部分计算

* feat: 拆分 lineLayer arc dash 虚线的 shader 代码

* style: lint style

* feat: 拆分 lineLayer arc3d linear 部分的 shader 代码

* style: lint style

* style: lint style

* feat: 完善 isMiniAli 的判断,兼容 smallfish H5+ 的模式

* style: lint style

* style: adjust mulpass demo

* feat: 提供 getScale 方法

* style: lint style

* feat:     修复支付宝小程序h5+开发模式下引入l7样式失效问题

* feat: 修改 l7hammerjs 的导入

* fix: 恢复原有的 picking shader 代码,解决移动端高亮存在冲突破面的情况

* feat: 重新设置 l7hammerjs 的导入方式

* fix: 修复 createTexture 的数据类型在 支付宝 环境中使用 Uint8ClampedArray 存在数据类型不兼容的现象

* style: lint style

* feat: 兼容高德地图 2.x 在部分安卓手机上点击拾取失效的情况

* style: lint style

* feat: 优化经典热力图显示效果

* style: lint style

* feat: 修改 setBlend 方法、返回当前的 layer 对象

* feat: 完善在点图层未传入数据的情况下判断 shape 类型

* style: lint style

* feat: 修复 MultiPassRender 在高德1.x 底图下,缩放地图时存在可视化层不同步的现象

* fix: 修复 getModelTypeWillEmptyData 的 bug

* feat: 提供图层空数据的情况下提前指定 layer 类型的参数方法(暂时只在 pointlayer)

* style: lint style
2022-03-01 15:13:58 +08:00
.github [push, pull_request_target] => pull_request 2021-02-19 11:12:15 +08:00
.storybook feat: centet 增加padding 功能 2021-04-06 18:00:53 +08:00
.vscode feat: 样式数据映射 1.0 2021-06-21 11:13:18 +08:00
build Shihui dev (#819) 2021-11-02 18:03:12 +08:00
demos fix: site react example 2020-03-08 15:40:22 +08:00
dev-docs Shihui dev (#818) 2021-11-01 21:13:19 +08:00
docs Feat layer legend (#977) 2022-02-22 12:00:51 +08:00
examples docs: 完善官网文档、案例 2022-02-14 15:33:13 +08:00
jest refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
packages Shihui (#985) 2022-03-01 15:13:58 +08:00
site docs: 官网文案修改 2022-01-18 16:11:28 +08:00
stories Shihui (#985) 2022-03-01 15:13:58 +08:00
.editorconfig refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.eslintrc chore(package): update babel-eslint version 2020-05-19 14:15:34 +08:00
.gitignore fix: 更新相关依赖 (#903) 2021-12-31 16:29:07 +08:00
.gitleaks.toml chore: add gitleaks 2020-04-21 11:28:10 +08:00
.prettierrc refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.stylelintrc refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.travis.yml Merge branch 'master' into draw_doc 2020-04-21 15:27:03 +08:00
.yarnrc chore: add .yarnrc 2019-11-22 20:18:33 +08:00
CHANGELOG.md chore: publish 2020-04-10 19:43:19 +08:00
LICENSE.md docs: update add prettier readme 2019-12-08 11:41:52 +08:00
README.en-US.md docs(district): l7Plot Choropleth for district (#935) 2022-01-14 18:39:15 +08:00
README.md docs(district): l7Plot Choropleth for district (#935) 2022-01-14 18:39:15 +08:00
babel.config.js fix: 错误文字 2021-08-23 19:15:21 +08:00
beta.sh Shihuidev (#912) 2022-01-04 19:06:33 +08:00
commitlint.config.js docs(layer): add layer docs 2019-11-20 20:44:08 +08:00
gatsby-browser.js docs(district): l7Plot Choropleth for district (#935) 2022-01-14 18:39:15 +08:00
gatsby-config.js Feat layer legend (#977) 2022-02-22 12:00:51 +08:00
gatsby-node.js Feat dipper demo (#820) 2021-11-08 19:49:43 +08:00
jest.config.js chore(boundry): rename distict->boundry 测试用例不识别 2020-05-27 20:34:39 +08:00
latest.sh Shihuidev (#912) 2022-01-04 19:06:33 +08:00
lerna.json chore: update version 2.7.26 -> 2.7.27 2022-02-28 19:03:01 +08:00
mini.sh Shihui dev (#818) 2021-11-01 21:13:19 +08:00
package.json Shihui (#968) 2022-02-17 13:45:29 +08:00
publish.sh Shihui dev (#818) 2021-11-01 21:13:19 +08:00
tbeta.sh Shihuidev (#901) 2021-12-27 19:11:15 +08:00
tsconfig.build.json fix: rm three lib 2021-02-26 16:21:04 +08:00
tsconfig.json Shihui dev (#826) 2021-11-08 19:51:38 +08:00
tslint.json chore: 移除loggerservice 2021-08-05 17:29:13 +08:00
tslint.prod.json fix(scene): 高清方案DPR 2021-01-12 11:36:52 +08:00
typings.d.ts feat: add declaration layers 2021-12-21 14:22:58 +08:00

README.en-US.md

L7

. travis ci 最近提交

Large-scale WebGL-powered Geospatial data visualization analysis framework.

中文 README

GitHub

Powered by WebGL, the rendering technology of L7 supports fast and efficient rendering of big data, 2D/3D rendering, possible through calculation and analysis of spatial data by GPU Parallel Compu-ting.

L7 focuses on geographic data expressivenessinteraction and design of geographic visualization layers. The basemaps on the platform are powered by third-party services

🌄 L7 visualization demos

L7 demo

🌟 Highlight features of L7 2.0

  • 🌏 Data-driven Visualization

    Layer visualization API design base Semiology of Graphics.

    It supports rich map visualization types for a better insight on data.

  • 🌏 High performance rendering with 2D/3D effect Real-time and dynamic rendering with millions of spatial data.

  • 🌏 Simple and flexible data format

    L7 supports a wide variety of data formats including CSV, JSON, geojson, among others, eliminating the need to run conversions ahead of time.

  • 🌏 Multi-basemap

    For global users, Mapbox is easy to be embedded by a simple line of code.

Getting Started

📦 Installation

npm install @antv/l7

Init Map by L7 scene

import { Scene } from '@antv/l7';
import { Mapbox } from '@antv/l7-maps';

const scene = new Scene({
  id: 'map',
  map: new Mapbox({
    style: 'light',
    pitch: 0,
    center: [107.054293, 35.246265],
    zoom: 4.056,
  }),
});

Add Layer

import { PointLayer } from '@antv/l7';

const pointLayer = new PointLayer()
  .source(data)
  .shape('circle')
  .size('mag', [1, 25])
  .color('mag', ['#5B8FF9', '#5CCEA1'])
  .style({
    opacity: 0.3,
    strokeWidth: 1,
  });

scene.addLayer(pointLayer);

📝 Documentation

License

MIT license.