2019-11-22 18:23:55 +08:00
|
|
|
|
# L7
|
2019-11-21 13:44:32 +08:00
|
|
|
|
|
2019-11-22 18:23:55 +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)
|
2019-11-21 13:44:32 +08:00
|
|
|
|
|
2019-11-22 18:23:55 +08:00
|
|
|
|
Large-scale WebGL-powered Geospatial data visualization analysis framework.
|
2019-11-21 13:44:32 +08:00
|
|
|
|
|
2019-11-21 23:27:01 +08:00
|
|
|
|
## l7 visualization demos
|
|
|
|
|
|
2019-11-22 12:08:33 +08:00
|
|
|
|
![l7 demo](https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*SGU-QIZsnyoAAAAAAAAAAABkARQnAQ)
|
2019-11-21 23:27:01 +08:00
|
|
|
|
|
2019-11-21 13:44:32 +08:00
|
|
|
|
### Installation
|
|
|
|
|
|
|
|
|
|
```
|
2019-11-21 17:52:18 +08:00
|
|
|
|
npm install @antv/l7@beta
|
2019-11-21 13:44:32 +08:00
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Features
|
|
|
|
|
|
|
|
|
|
### Links
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Development
|
|
|
|
|
|
|
|
|
|
使用 Yarn Workspace 完成依赖安装以及各包之间的 link 工作:
|
|
|
|
|
```bash
|
|
|
|
|
yarn install
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
开发模式:
|
|
|
|
|
```bash
|
|
|
|
|
yarn watch
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
运行 Demo
|
|
|
|
|
```bash
|
|
|
|
|
yarn storybook
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
代替 `git commit` 提交:
|
|
|
|
|
```bash
|
|
|
|
|
yarn commit
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## view doc example
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
npm start
|
|
|
|
|
```
|
|
|
|
|
visit http://localhost:8000/
|
|
|
|
|
|
|
|
|
|
## Add Package
|
|
|
|
|
|
|
|
|
|
add new package:
|
|
|
|
|
```bash
|
|
|
|
|
lerna create my-pack -y
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
将 ui-lib 作为 my-pack 的依赖:
|
|
|
|
|
```bash
|
|
|
|
|
yarn workspace my-pack add ui-lib/1.0.0
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
将 lodash 添加为所有 package 的依赖(不包含root)
|
|
|
|
|
```bash
|
|
|
|
|
yarn workspaces run add lodash
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
将 typescript 设置为 root 的开发依赖
|
|
|
|
|
```bash
|
|
|
|
|
yarn add -W -D typescript jest
|
|
|
|
|
```
|