Go to file
YiQianYao 1fcd1f06a0
Shihuidev (#888)
* feat: 增加着色器的拾取计算控制、完善 arcmini

* feat: 完善 enableShaderPick/disableShaderPick 功能

* style: lint style

* feat: 补充调用高德地图公交线路查询 demo

* style: lint style

* feat: 优化弧线的纹理动画

* style: lint style

* feat: 去除greatCircle 的纹理动画优化

* feat: 扩展点图层圆柱效果

* feat: 增加几何体的径向渐变配置

* style: lint style

* fix: 修复bug 图层触发的事件跟图层设置的zIndex无关,只跟插入图层先后顺序有关

* style: lint style

* feat: 补全挤出几何体拾取颜色的光照配置

* style: lint style

* fix: 修复圆柱 cull 问题 mapbox amap 不同

* feat: 图层销毁时的内存泄漏

* style: lint style

* feat: 平面弧线新增弧线偏移量的数据映射能力

* style: lint style

* fix: 修复重复销毁bug

* style: lint style

* feat: 修复 texture 重复销毁问题

* style: lint style

* fix: 修复图层叠加模式下的拾取失效问题

* style: lint style

* fix: 修复纹理贴图在 zoom 大于 12 时存在的问题

* fix: 修复水波点颜色偏暗

* feat: 优化点图层的渲染效果,叠加渲染效果

* style: lint style

* fix: 修复 layer contextmenu 事件丢失

* fix: 修复 map 类型 resize 失效

* style: lint style

* feat: 增加瓦片地图的请求节流

* style: lint style

* feat: 优化热力图在 radius 数值比较大时热力点边缘发生裁剪的现象

* style: lint style

* fix: 修复resize 后 picking shiqu 拾取失败的问题

* feat: 优化 marker/popup 在容器边缘的表现

* feat: 增加 setEnableRender 方法

* style: lint style

* feat: 增加城市图层扫光特效

* style: lint style

* feat: 补全拾取色混合配置

* style: lint style

* feat: 增加高德地图的面积大小点

* style: lint style

* feat: 点优化边缘锯齿

* feat: add declaration layers

* feat: 调整点图层 version 的引入

* style: lint style

* fix: 修复pointLayer stroke 变暗问题
2021-12-21 15:48:35 +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 docs: fix 404 links (#882) 2021-12-16 14:29:44 +08:00
examples feat: 调整官网demo效果 2021-12-10 13:37:11 +08:00
jest refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
packages Shihuidev (#888) 2021-12-21 15:48:35 +08:00
site fix: 修复官网首页图片丢失 2021-12-03 17:21:37 +08:00
stories Shihuidev (#888) 2021-12-21 15:48:35 +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 feat: 新增Control position:topcenter、bottomcenter、leftcenter、rightcenter 2021-09-24 10:46:56 +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: set default lang is zh (#783) 2021-10-11 14:19:23 +08:00
README.md docs: set default lang is zh (#783) 2021-10-11 14:19:23 +08:00
babel.config.js fix: 错误文字 2021-08-23 19:15:21 +08:00
beta.sh Shihui dev (#826) 2021-11-08 19:51:38 +08:00
commitlint.config.js docs(layer): add layer docs 2019-11-20 20:44:08 +08:00
gatsby-browser.js Shihui dev (#826) 2021-11-08 19:51:38 +08:00
gatsby-config.js feat: 增加高德插件案例以及相关文档 2021-12-02 16:13:44 +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 (#879) 2021-12-13 17:27:39 +08:00
lerna.json chore: update version 2.6.19 -> 2.6.20 2021-12-21 14:13:22 +08:00
mini.sh Shihui dev (#818) 2021-11-01 21:13:19 +08:00
package.json Fix site map (#847) 2021-11-23 13:38:48 +08:00
publish.sh Shihui dev (#818) 2021-11-01 21:13:19 +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 Shihuidev (#888) 2021-12-21 15:48:35 +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.