antv-l7/packages/l7
@thinkinggis 4db42a1814
Chore lint update (#1600)
* chore: update lint config

* fix: 移除空行

* fix: util export

* chore: 优化lint 配置
2023-02-14 18:01:02 +08:00
..
__tests__ fix(heatmap): 修复热力图某些设备上黑色 fix #278 2020-04-09 20:54:39 +08:00
demo fix: IE11 兼容测试 (#1145) 2022-06-09 19:09:30 +08:00
src Chore lint update (#1600) 2023-02-14 18:01:02 +08:00
.fatherrc.ts chore: replace storybook with dumi (#1256) 2022-08-08 16:41:30 +08:00
.gitignore fix(docs): merge master remove manual 2019-11-25 13:49:12 +08:00
CHANGELOG.md chore: publish 2020-04-10 15:37:10 +08:00
README.en-US.md docs: 更新 README 及新官网链接 (#1500) 2022-11-22 15:59:22 +08:00
README.md docs: 更新 README 及新官网链接 (#1500) 2022-11-22 15:59:22 +08:00
package.json chore: update version 2.13.5 -> 2.13.6 (#1603) 2023-02-14 17:46:10 +08:00
tsconfig.build.json feat: 渲染流程异步改造、部分支持 worker (#1224) 2022-08-02 19:05:27 +08:00

README.en-US.md

English | 简体中文

L7

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

travis ci 最近提交

TutorialsAPI documentationExamplesContributor

L7 demo

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

🌟 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);

License

MIT license.