Merge pull request #107 from antvis/afc163-patch-1

Update README.md
This commit is contained in:
@thinkinggis 2019-11-29 14:49:29 +08:00 committed by GitHub
commit f688d98b0b
1 changed files with 21 additions and 32 deletions

View File

@ -18,43 +18,33 @@ L7 focuses on geographic data expressivenessinteraction and design of geogra
## 🌟 Highlight features of L7 2.0 ## 🌟 Highlight features of L7 2.0
- 🌏 Data-driven Visualization
🌏 Data-driven Visualization
Layer visualization API design base Semiology of Graphics. Layer visualization API design base Semiology of Graphics.
it supports rich map visualization types for a better insight on data. It supports rich map visualization types for a better insight on data.
- 🌏 High performance rendering with 2D/3D effect
🌏High performance rendering with 2D/3D effect
Real-time and dynamic rendering with millions of spatial data. Real-time and dynamic rendering with millions of spatial data.
- 🌏 Simple and flexible data format
🌏 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.
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.
- 🌏 Multi-basemap
For global users, Mapbox is easy to be embedded by a simple line of code.
## Getting Started ## Getting Started
### 📦 Installation
.
### 📦 Installation
``` ```
npm install @antv/l7@beta npm install @antv/l7@beta
``` ```
### init Map by L7 scene ### Init Map by L7 scene
```javascript ```javascript
import { Scene } from '@antv/l7'; import { Scene } from '@antv/l7';
@ -70,7 +60,7 @@ new Scene({
}) })
``` ```
### add Layer ### Add Layer
``` javascript ``` javascript
@ -89,30 +79,29 @@ scene.addLayer(pointLayer);
``` ```
## Documentation ## :memo: Documentation
[Getting started with L7](https://l7.antv.vision/en/docs/api/l7) - [Getting started with L7](https://l7.antv.vision/en/docs/api/l7)
- [Tutorials](https://l7.antv.vision/en/docs/tutorial/quickstart)
- [API documentation](https://l7.antv.vision/en/docs/api/l7)
- [Examples](https://l7.antv.vision/en/examples/gallery/basic)
[Tutorials](https://l7.antv.vision/en/docs/tutorial/quickstart) ## 🔨 Development
[API documentation](https://l7.antv.vision/en/docs/api/l7)
[Examples](https://l7.antv.vision/en/examples/gallery/basic)
## 🔨 Development
使用 Yarn Workspace 完成依赖安装以及各包之间的 link 工作: 使用 Yarn Workspace 完成依赖安装以及各包之间的 link 工作:
```bash ```bash
yarn install yarn install
``` ```
开发模式: 开发模式:
```bash ```bash
yarn watch yarn watch
``` ```
运行 Demo基于 Storybook 运行 Demo基于 Storybook
```bash ```bash
yarn storybook yarn storybook
``` ```
@ -122,8 +111,8 @@ yarn storybook
```bash ```bash
yarn start yarn start
``` ```
visit http://localhost:8000/
Visit http://localhost:8000/
## ✅ License ## ✅ License