Merge pull request #88 from antvis/docs

docs(docs): add 1.x 版本的介绍
This commit is contained in:
@thinkinggis 2019-11-26 12:17:32 +08:00 committed by GitHub
commit bc67ccb81a
11 changed files with 93 additions and 8 deletions

View File

@ -83,4 +83,6 @@ L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于 WebGL 的开源
### 技术支持服务群
L7 相关技术问题,需求反馈,我们会及时响应
![地理空间可视化L7支持群](https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*ePmsRbK4lZgAAAAAAAAAAABkARQnAQ)

39
docs/api/l7stable.en.md Normal file
View File

@ -0,0 +1,39 @@
---
title: 1.x stable
order: 1
---
## L7 1.x 版本
## [旧版地址](https://antv-2018.alipay.com/zh-cn/l7/1.x/index.html)
目前 1.x 版本最新版本为 1.4.2 版本
#### CDN 在线使用连接为
```html
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-1.4.2/build/L7-min.js"></script>
```
### npm 安装使用
会默认安装 1.x的最新版本2.0正式版本发布后才会默认2.0版本
```
npm install @antv/l7
```
### 1.x 版本 和文档
- [1.x 官网](https://antv-2018.alipay.com/zh-cn/l7/1.x/index.html)
- [1.x 文档](https://www.yuque.com/antv/l7/vgo25g)
L7 2.0 beta 版本已经发布一些功能还没有完善我们将在1月6号发布2.0正式版会包含1.x 版的所有功能.
L7 2.0 beta 版本已经发布一些功能还没有完善我们将在1月6号发布2.0正式版会包含1.x 版的所有功能.

36
docs/api/l7stable.zh.md Normal file
View File

@ -0,0 +1,36 @@
---
title: 1.x 稳定版
order: 1
---
## L7 1.x 版本
## [旧版地址](https://antv-2018.alipay.com/zh-cn/l7/1.x/index.html)
目前 1.x 版本最新版本为 1.4.2 版本
#### CDN 在线使用连接为
```html
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.l7-1.4.2/build/L7-min.js"></script>
```
### npm 安装使用
会默认安装 1.x的最新版本2.0正式版本发布后才会默认2.0版本
```
npm install @antv/l7
```
### 1.x 版本 和文档
- [1.x 官网](https://antv-2018.alipay.com/zh-cn/l7/1.x/index.html)
- [1.x 文档](https://www.yuque.com/antv/l7/vgo25g)
L7 2.0 beta 版本已经发布一些功能还没有完善我们将在1月6号发布2.0正式版会包含1.x 版的所有功能.

View File

@ -1,6 +1,6 @@
---
title: Scene
order: 1
order: 2
---
# 简介

View File

@ -1,6 +1,6 @@
---
title: 场景 Scene
order: 1
order: 2
---
# 简介

View File

@ -111,7 +111,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json')
const scene = new L7.Scene({
id: 'map',
mapStyle: 'dark', // 样式URL
style: 'dark', // 样式URL
center: [120.19382669582967, 30.258134],
pitch: 0,
zoom: 12,

View File

@ -111,7 +111,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json')
const scene = new L7.Scene({
id: 'map',
mapStyle: 'dark', // 样式URL
style: 'dark', // 样式URL
center: [120.19382669582967, 30.258134],
pitch: 0,
zoom: 12,

View File

@ -118,7 +118,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json')
<script>
const scene = new L7.Scene({
id: 'map',
mapStyle: 'dark', // 样式URL
style: 'dark', // 样式URL
center: [120.19382669582967, 30.258134],
pitch: 0,
zoom: 12,

View File

@ -116,7 +116,7 @@ fetch('https://gw.alipayobjects.com/os/rmsportal/oVTMqfzuuRFKiDwhPSFL.json')
<script>
const scene = new L7.Scene({
id: 'map',
mapStyle: 'dark', // 样式URL
style: 'dark', // 样式URL
center: [120.19382669582967, 30.258134],
pitch: 0,
zoom: 12,

View File

@ -2,7 +2,7 @@
title: 快速上手
order: 0
redirect_from:
- /zh/docs/tutorial
- /en/docs/tutorial
---
# 使用方法

View File

@ -47,6 +47,14 @@ module.exports = {
},
order: 0
},
{
slug: 'api/l7stable',
title: {
zh: '1.x 稳定版',
en: '1.x Stable'
},
order: 1
},
{
slug: 'tutorial',
title: {
@ -69,7 +77,7 @@ module.exports = {
zh: '场景 Scene',
en: 'Scene'
},
order: 1
order: 2
},
{
slug: 'api/layer',