Go to file
@thinkinggis b3c9501cb5 Merge pull request #259 from antvis/l7-draw
L7 draw
2020-03-20 19:25:55 +08:00
.github refactor: tslint error 2020-02-22 17:13:28 +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 docs: scene add getContainer method 2020-03-20 15:08:51 +08:00
examples docs: scene add getContainer method 2020-03-20 15:08:51 +08:00
jest refactor: refactor with monorep architecture 2019-10-08 20:15:52 +08:00
packages Merge pull request #259 from antvis/l7-draw 2020-03-20 19:25:55 +08:00
site docs: update docs 2020-03-14 12:31:09 +08:00
stories fix: picking 2020-03-20 12:13:28 +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 feat(source render): source transfrom, layer event 2019-12-12 00:35:15 +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 ci: 新增钉钉CI机器人 2020-02-05 17:24:19 +08:00
.yarnrc chore: add .yarnrc 2019-11-22 20:18:33 +08:00
CHANGELOG.md chore: update version 2.1.3 2020-03-17 11:05:04 +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 Merge pull request #161 from antvis/setdata 2020-01-16 12:02:42 +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 chore: update l7-react peerdependencies 2020-03-09 20:46:17 +08:00
gatsby-config.js fix: mapbox 光照问题 2020-03-12 16:14:59 +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-03-20 11:51:08 +08:00
package.json fix: observerable打包问题 2020-03-20 19:02:41 +08:00
tsconfig.build.json chore: move out async-hook 2020-02-26 22:23:43 +08:00
tsconfig.json chore: move out async-hook 2020-02-26 22:23:43 +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 fix: observerable打包问题 2020-03-20 19:02:41 +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.