Go to file
@thinkinggis ed934a0cb1
Merge pull request #297 from antvis/gitleaks
chore: add gitleaks
2020-04-21 14:47:16 +08:00
.github Merge branch 'gitleaks' of github.com:antvis/L7 into gitleaks 2020-04-21 11:39:25 +08:00
.storybook feat(react): add react lib 2020-02-11 20:31:55 +08:00
.vscode fix(fix confilict): conflict 2019-11-14 18:22:08 +08:00
build feat: add drag event 2020-03-20 11:37:24 +08:00
demos fix: site react example 2020-03-08 15:40:22 +08:00
dev-docs [ImgBot] Optimize images 2020-03-08 07:08:27 +00:00
docs chore: upgrade dependences and fix warning 2020-04-20 15:03:47 +08:00
examples fix: marker event 2020-04-07 11:24:59 +08:00
jest refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
packages build(draw): update depencies 2020-04-20 15:37:38 +08:00
site docs: update docs 2020-03-14 12:31:09 +08:00
stories docs: 更新draw 绘制文档 2020-04-18 10:52:40 +08:00
.editorconfig refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
.eslintrc docs(layer): add layer docs 2019-11-20 20:44:08 +08:00
.gitignore improvement: update control 2020-04-03 19:36:17 +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 chore: add gitleaks 2020-04-21 11:28:10 +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.md Update README.md 2020-02-02 22:15:21 +08:00
README.zh-CN.md fix: 3d 热力图抖动问题 fixes #138 #263 2020-03-26 16:59:19 +08:00
babel.config.js fix: observerable打包问题 2020-03-20 19:02:41 +08:00
commitlint.config.js docs(layer): add layer docs 2019-11-20 20:44:08 +08:00
gatsby-browser.js docs: 更新draw 绘制文档 2020-04-18 10:52:40 +08:00
gatsby-config.js docs: 更新draw 绘制文档 2020-04-18 10:52:40 +08:00
gatsby-node.js fix: tslint error 2020-02-12 10:06:24 +08:00
jest.config.js chore: move out async-hook 2020-02-26 22:23:43 +08:00
lerna.json chore: publish 2020-04-14 11:08:20 +08:00
package.json build(l7): fixed @types/node version 2020-04-20 16:47:35 +08:00
tsconfig.build.json chore: move out async-hook 2020-02-26 22:23:43 +08:00
tsconfig.json fix(heatmap): 修复热力图某些设备上黑色 fix #278 2020-04-09 20:54:39 +08:00
tslint.json fix: render 将gl模块移动到开发分支, update tslint rule 2019-12-17 14:37:28 +08:00
tslint.prod.json fix: render 将gl模块移动到开发分支, update tslint rule 2019-12-17 14:37:28 +08:00
tslint.test.json fix: render 将gl模块移动到开发分支, update tslint rule 2019-12-17 14:37:28 +08:00
yarn.lock build(l7): fixed @types/node version 2020-04-20 16:47:35 +08:00

README.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.