2022-11-22 15:59:22 +08:00
< img src = "https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width = "18" > English | [简体中文 ](./README.md )
2021-10-11 14:19:23 +08:00
2022-11-22 15:59:22 +08:00
< h1 align = "center" > L7< / h1 >
2021-10-11 14:19:23 +08:00
2022-11-22 15:59:22 +08:00
< div align = "center" >
2021-10-11 14:19:23 +08:00
2022-11-22 15:59:22 +08:00
🌍 Large-scale WebGL-powered Geospatial data visualization analysis framework.
2021-10-11 14:19:23 +08:00
2022-11-22 15:59:22 +08:00
[![travis ci ](https://travis-ci.com/antvis/L7.svg?branch=master )](https://travis-ci.com/antvis/L7) [![ ](https://flat.badgen.net/npm/v/@antv/l7?icon=npm )](https://www.npmjs.com/package/@antv/l7) ![最近提交 ](https://badgen.net/github/last-commit/antvis/L7 )
2021-10-11 14:19:23 +08:00
2022-11-22 15:59:22 +08:00
< p align = "center" >
< a href = "https://l7.antv.antgroup.com/tutorial/quickstart" > Tutorials< / a > •
< a href = "https://l7.antv.antgroup.com/api/scene" > API documentation< / a > •
< a href = "https://l7.antv.antgroup.com/examples" > Examples< / a > •
< a href = "./.github/CONTRIBUTING.md" > Contributor< / a >
< / p >
2021-10-11 14:19:23 +08:00
2022-11-22 15:59:22 +08:00
![L7 demo ](https://gw.alipayobjects.com/mdn/rms_855bab/afts/img/A*S-73QpO8d0YAAAAAAAAAAABkARQnAQ )
2021-10-11 14:19:23 +08:00
2022-11-22 15:59:22 +08:00
< / div >
2022-03-07 11:30:41 +08:00
2022-11-22 15:59:22 +08:00
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.
2021-10-11 14:19:23 +08:00
2022-11-22 15:59:22 +08:00
L7 focuses on geographic data expressiveness, interaction and design of geographic visualization layers. The basemaps on the platform are powered by third-party services
2021-10-11 14:19:23 +08:00
## 🌟 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
```bash
npm install @antv/l7
```
### Init Map by L7 scene
```javascript
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
```javascript
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);
```
## 🔗 Links
2022-07-01 14:34:21 +08:00
- [L7Draw ](https://github.com/antvis/L7Draw )
2022-11-22 15:59:22 +08:00
- [L7Plot ](https://github.com/antvis/L7Plot )
- [LarkMap ](https://github.com/antvis/LarkMap )
- [LocationInsight ](https://locationinsight.antv.antgroup.com )
2021-10-11 14:19:23 +08:00
## ✅ License
[MIT license ](./LICENSE ).