docs: 完善官网demo、文档

This commit is contained in:
shihui 2022-01-11 21:13:26 +08:00
parent 065f3b3683
commit de75651934
10 changed files with 51 additions and 38 deletions

View File

@ -1,6 +1,6 @@
---
title: Control
order: 2
order: 12
---
How to use the map control

View File

@ -1,6 +1,6 @@
---
title: 组件
order: 2
order: 12
---
如何使用组件

View File

@ -1,6 +1,6 @@
---
title: Layer
order: 2
order: 12
---
Layer init and interaction

View File

@ -1,6 +1,6 @@
---
title: 图层
order: 2
order: 12
---
图层初始化与交互

View File

@ -1,6 +1,6 @@
---
title: Map
order: 0
order: 12
---
how to use L7 Initialize third-party maps

View File

@ -1,6 +1,6 @@
---
title: 地图
order: 0
order: 12
---
介绍如何初始化一个第三方底图

View File

@ -1,6 +1,6 @@
---
title: Marker
order: 2
order: 12
---
add Rich text annotation to scene

View File

@ -1,6 +1,6 @@
---
title: Marker
order: 2
order: 12
---
通过添加dom实现富文本地图标注

View File

@ -34,11 +34,10 @@
"title": "航向图",
"screenshot":"https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*B645Q4K9PxYAAAAAAAAAAAAAARQnAQ"
},
{
"filename": "turin.js",
"title": "都灵道路图",
"screenshot":"https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*CNzqRJDMh-oAAAAAAAAAAAAAARQnAQ"
"screenshot":"https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*mo_7Q6sTqOIAAAAAAAAAAAAAARQnAQ"
},
{
"filename": "cylinder.js",

View File

@ -91,7 +91,7 @@ module.exports = {
order: 4
},
{
slug: 'tutorial/examples',
slug: 'tutorial/demo',
icon: 'map',
title: {
zh: '教程示例',
@ -263,13 +263,15 @@ module.exports = {
}
],
examples: [
{
slug: 'gallery',
icon: 'gallery',
title: {
zh: '官方精品库',
en: 'Featured'
}
},
order: 0
},
{
slug: 'point',
@ -277,7 +279,8 @@ module.exports = {
title: {
zh: '点图层',
en: 'Point Layer'
}
},
order: 1
},
{
slug: 'line',
@ -285,7 +288,8 @@ module.exports = {
title: {
zh: '线图层',
en: 'Line Layer'
}
},
order: 2
},
{
slug: 'polygon',
@ -293,7 +297,26 @@ module.exports = {
title: {
zh: '面图层',
en: 'Polygon Layer'
}
},
order: 3
},
{
slug: 'earth',
icon: 'map',
title: {
zh: '地球模式',
en: 'Earth Mode'
},
order: 4
},
{
slug: 'wind',
icon: 'raster',
title: {
zh: '风场图层',
en: 'Wind Layer'
},
order: 5
},
{
slug: 'heatmap',
@ -302,7 +325,7 @@ module.exports = {
zh: '热力图',
en: 'HeatMap Layer'
},
order: 5
order: 6
},
{
slug: 'raster',
@ -310,7 +333,8 @@ module.exports = {
title: {
zh: '栅格图层',
en: 'Raster Layer'
}
},
order: 7
},
{
slug: 'engine',
@ -318,7 +342,8 @@ module.exports = {
title: {
zh: '第三方引擎',
en: 'other engine'
}
},
order: 8
},
{
slug: 'react',
@ -326,7 +351,8 @@ module.exports = {
title: {
zh: 'React 组件',
en: 'React Demo'
}
},
order: 9
},
{
slug: 'amapPlugin',
@ -334,31 +360,18 @@ module.exports = {
title: {
zh: '高德地图插件',
en: 'amapPlugin'
}
},
{
slug: 'earth',
icon: 'map',
title: {
zh: '地球模式',
en: 'Earth Mode'
}
},
{
slug: 'wind',
icon: 'raster',
title: {
zh: '风场图层',
en: 'Wind Layer'
}
},
order: 10
},
{
slug: 'district',
icon: 'map',
title: {
zh: '行政区划',
en: 'L7 District'
}
},
order: 11
},
{
slug: 'draw',
@ -366,7 +379,8 @@ module.exports = {
title: {
zh: '绘制组件',
en: 'L7 Draw'
}
},
order: 12
},
{
slug: 'tutorial',