docs: 更新 README 及新官网链接 (#1500)

This commit is contained in:
lvisei 2022-11-22 15:59:22 +08:00 committed by GitHub
parent 4a1ba616b3
commit 868e504326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 197 additions and 156 deletions

View File

@ -2,6 +2,12 @@
👍🎉 欢迎向 L7 贡献代码! 🎉👍 👍🎉 欢迎向 L7 贡献代码! 🎉👍
## 下载源码
```bash
git clone https://github.com/antvis/L7 --depth=1
```
## 前置依赖安装 ## 前置依赖安装
### 安装 Yarn ### 安装 Yarn
@ -20,6 +26,7 @@
## 安装依赖 ## 安装依赖
安装依赖并完成 Yarn workspace 初始化: 安装依赖并完成 Yarn workspace 初始化:
```bash ```bash
yarn install yarn install
``` ```
@ -32,20 +39,22 @@ copy node_modules/gl/deps/windows/dll/x64/*.dll c:\windows\system32
## 运行 DEMO ## 运行 DEMO
```bash ```bash
yarn dev yarn dev
``` ```
打开 `http://localhost:6006/`
打开 `http://localhost:6006/`
## 运行测试 ## 运行测试
运行单元测试: 运行单元测试:
```bash ```bash
yarn test yarn test
``` ```
运行单元测试并查看代码覆盖率: 运行单元测试并查看代码覆盖率:
```bash ```bash
yarn coveralls yarn coveralls
``` ```
@ -53,21 +62,25 @@ yarn coveralls
## 添加 Lerna package ## 添加 Lerna package
添加一个新的 lerna package 添加一个新的 lerna package
```bash ```bash
lerna create my-pack -y lerna create my-pack -y
``` ```
将 ui-lib 作为 my-pack 的依赖: 将 ui-lib 作为 my-pack 的依赖:
```bash ```bash
yarn workspace my-pack add ui-lib/1.0.0 yarn workspace my-pack add ui-lib/1.0.0
``` ```
将 lodash 添加为所有 package 的依赖(不包含root 将 lodash 添加为所有 package 的依赖(不包含 root
```bash ```bash
yarn workspaces run add lodash yarn workspaces run add lodash
``` ```
将 typescript 设置为 root 的开发依赖 将 typescript 设置为 root 的开发依赖
```bash ```bash
yarn add -W -D typescript jest yarn add -W -D typescript jest
``` ```
@ -75,6 +88,7 @@ yarn add -W -D typescript jest
## 提交代码 ## 提交代码
代替 `git commit` 提交: 代替 `git commit` 提交:
```bash ```bash
yarn commit yarn commit
``` ```
@ -86,10 +100,9 @@ yarn commit
```bash ```bash
yarn run version:prerelease yarn run version:prerelease
``` ```
设置完成后需要commit一下代码
设置完成后需要 commit 一下代码
### 发布 ### 发布
yarn run release yarn run release

View File

@ -2,6 +2,12 @@
👍🎉 Welcome to contribute code to L7! 🎉👍 👍🎉 Welcome to contribute code to L7! 🎉👍
## Source Code
```bash
git clone https://github.com/antvis/L7 --depth=1
```
## Pre-installation ## Pre-installation
### Install Yarn ### Install Yarn
@ -20,6 +26,7 @@ See [other issues](https://github.com/antvis/L7/issues/101) during installation.
## Install dependencies ## Install dependencies
Install dependencies and complete Yarn workspace initialization: Install dependencies and complete Yarn workspace initialization:
```bash ```bash
yarn install yarn install
``` ```
@ -33,11 +40,13 @@ copy node_modules/gl/deps/windows/dll/x64/*.dll c:\windows\system32
## Run DEMO ## Run DEMO
Start each package code change monitoring: Start each package code change monitoring:
```bash ```bash
yarn watch yarn watch
``` ```
Start Storybook, it will automatically open `http://localhost:6006/`: Start Storybook, it will automatically open `http://localhost:6006/`:
```bash ```bash
yarn storybook yarn storybook
``` ```
@ -45,11 +54,13 @@ yarn storybook
## Run test ## Run test
Run unit tests: Run unit tests:
```bash ```bash
yarn test yarn test
``` ```
Run unit tests and view code coverage: Run unit tests and view code coverage:
```bash ```bash
yarn coveralls yarn coveralls
``` ```
@ -57,26 +68,31 @@ yarn coveralls
## Add Lerna package ## Add Lerna package
Add a new lerna package: Add a new lerna package:
```bash ```bash
lerna create my-pack -y lerna create my-pack -y
``` ```
Use ui-lib as a dependency of my-pack: Use ui-lib as a dependency of my-pack:
```bash ```bash
yarn workspace my-pack add ui-lib/1.0.0 yarn workspace my-pack add ui-lib/1.0.0
``` ```
Add lodash as a dependency of all packages (excluding root) Add lodash as a dependency of all packages (excluding root)
```bash ```bash
yarn workspaces run add lodash yarn workspaces run add lodash
``` ```
Set typescript to root development dependency: Set typescript to root development dependency:
```bash ```bash
yarn add -W -D typescript jest yarn add -W -D typescript jest
``` ```
## Submit code ## Submit code
Instead of `git commit`: Instead of `git commit`:
```bash ```bash
@ -90,8 +106,9 @@ yarn commit
```bash ```bash
yarn run version:prerelease yarn run version:prerelease
``` ```
After setting, you need to commit the code After setting, you need to commit the code
### release ### release
yarn run release yarn run release

View File

@ -1,24 +1,28 @@
# L7 <img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> English | [简体中文](./README.md)
<h1 align="center">L7</h1>
<div align="center">
🌍 Large-scale WebGL-powered Geospatial data visualization analysis framework.
.
[![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) [![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)
Large-scale WebGL-powered Geospatial data visualization analysis framework. <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>
[中文 README](./README.md) ![L7 demo](https://gw.alipayobjects.com/mdn/rms_855bab/afts/img/A*S-73QpO8d0YAAAAAAAAAAABkARQnAQ)
[GitHub](https://github.com/antvis/L7) </div>
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. 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.
L7 focuses on geographic data expressivenessinteraction and design of geographic visualization layers. The basemaps on the platform are powered by third-party services L7 focuses on geographic data expressivenessinteraction and design of geographic visualization layers. The basemaps on the platform are powered by third-party services
[website](https://l7.antv.vision/zh)
## 🌄 L7 visualization demos
![L7 demo](https://gw.alipayobjects.com/mdn/rms_855bab/afts/img/A*S-73QpO8d0YAAAAAAAAAAABkARQnAQ)
## 🌟 Highlight features of L7 2.0 ## 🌟 Highlight features of L7 2.0
- 🌏 Data-driven Visualization - 🌏 Data-driven Visualization
@ -81,20 +85,12 @@ const pointLayer = new PointLayer()
scene.addLayer(pointLayer); scene.addLayer(pointLayer);
``` ```
## :memo: Documentation
- [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)
- [Contributor documentation](./.github/CONTRIBUTING.md)
## 🔗 Links ## 🔗 Links
- [L7Plot](https://github.com/antvis/L7Plot)
- [L7 React](https://github.com/antvis/L7-React)
- [L7 Boundary](https://github.com/antvis/L7-boundary)
- [L7Draw](https://github.com/antvis/L7Draw) - [L7Draw](https://github.com/antvis/L7Draw)
- [L7Plot](https://github.com/antvis/L7Plot)
- [LarkMap](https://github.com/antvis/LarkMap)
- [LocationInsight](https://locationinsight.antv.antgroup.com)
## ✅ License ## ✅ License

View File

@ -1,23 +1,28 @@
## L7 地理空间数据可视分析引擎 <img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> [English](./README.en-US.md) | 简体中文
<h1 align="center">L7</h1>
<div align="center">
🌍 地理空间数据可视分析引擎
[![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) [![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)
[README](./README.en-US.md) <p align="center">
<a href="https://l7.antv.antgroup.com/tutorial/quickstart">教程</a>
<a href="https://l7.antv.antgroup.com/api/scene">文档</a>
<a href="https://l7.antv.antgroup.com/examples">示例</a>
<a href="./.github/CONTRIBUTING.md">贡献</a>
</p>
[GitHub](https://github.com/antvis/L7) ![L7 demo](https://gw.alipayobjects.com/mdn/rms_855bab/afts/img/A*S-73QpO8d0YAAAAAAAAAAABkARQnAQ)
```bash </div>
git clone https://github.com/antvis/L7 --depth=1
```
L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析开发框架。L7 中的 L 代表 Location7 代表世界七大洲寓意能为全球位置数据提供可视分析的能力。L7 专注数据可视化化表达,通过颜色、大小、纹理,方向,体积等视觉变量设置实现从数据到信息清晰,有效的表达。 L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析开发框架。L7 中的 L 代表 Location7 代表世界七大洲寓意能为全球位置数据提供可视分析的能力。L7 专注数据可视化化表达,通过颜色、大小、纹理,方向,体积等视觉变量设置实现从数据到信息清晰,有效的表达。
[官网地址](https://l7.antv.vision/zh)
L7 能够满足常见的地图图表BI 系统的可视化分析、以及 GIS交通电力国土农业城市等领域的空间信息管理分析等应用系统开发需求。 L7 能够满足常见的地图图表BI 系统的可视化分析、以及 GIS交通电力国土农业城市等领域的空间信息管理分析等应用系统开发需求。
![L7 demo](https://gw.alipayobjects.com/mdn/rms_855bab/afts/img/A*S-73QpO8d0YAAAAAAAAAAABkARQnAQ)
## 🌟 核心特性 ## 🌟 核心特性
🌏 数据驱动可视化展示 🌏 数据驱动可视化展示
@ -113,20 +118,12 @@ const pointLayer = new PointLayer()
scene.addLayer(pointLayer); scene.addLayer(pointLayer);
``` ```
## :memo: 文档
- [开始使用](https://l7.antv.vision/en/docs/api/l7)
- [教程](https://l7.antv.vision/en/docs/tutorial/quickstart)
- [文档](https://l7.antv.vision/en/docs/api/l7)
- [示例](https://l7.antv.vision/en/examples/gallery/basic)
- [贡献](./.github/CONTRIBUTING.md)
## 🔗 Links ## 🔗 Links
- [L7Plot](https://github.com/antvis/L7Plot)
- [L7 React](https://github.com/antvis/L7-React)
- [L7 Boundary](https://github.com/antvis/L7-boundary)
- [L7Draw](https://github.com/antvis/L7Draw) - [L7Draw](https://github.com/antvis/L7Draw)
- [L7Plot](https://github.com/antvis/L7Plot)
- [LarkMap](https://github.com/antvis/LarkMap)
- [LocationInsight](https://locationinsight.antv.antgroup.com)
## ✅ License ## ✅ License

View File

@ -15,8 +15,9 @@ export default class Logo extends Control<ILogoControlOption> {
return { return {
position: PositionType.BOTTOMLEFT, position: PositionType.BOTTOMLEFT,
name: 'logo', name: 'logo',
href: 'https://l7.antv.vision/', href: 'https://l7.antv.antgroup.com/',
img: 'https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*GRb1TKp4HcMAAAAAAAAAAAAAARQnAQ', img:
'https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*GRb1TKp4HcMAAAAAAAAAAAAAARQnAQ',
}; };
} }

View File

@ -1,24 +1,28 @@
# L7 <img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> English | [简体中文](./README.md)
<h1 align="center">L7</h1>
<div align="center">
🌍 Large-scale WebGL-powered Geospatial data visualization analysis framework.
.
[![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) [![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)
Large-scale WebGL-powered Geospatial data visualization analysis framework. <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>
[中文 README](./README.md) ![L7 demo](https://gw.alipayobjects.com/mdn/rms_855bab/afts/img/A*S-73QpO8d0YAAAAAAAAAAABkARQnAQ)
[GitHub](https://github.com/antvis/L7) </div>
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. 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.
L7 focuses on geographic data expressivenessinteraction and design of geographic visualization layers. The basemaps on the platform are powered by third-party services L7 focuses on geographic data expressivenessinteraction and design of geographic visualization layers. The basemaps on the platform are powered by third-party services
[website](https://l7.antv.vision/zh)
## 🌄 L7 visualization demos
![L7 demo](https://gw.alipayobjects.com/mdn/rms_855bab/afts/img/A*S-73QpO8d0YAAAAAAAAAAABkARQnAQ)
## 🌟 Highlight features of L7 2.0 ## 🌟 Highlight features of L7 2.0
- 🌏 Data-driven Visualization - 🌏 Data-driven Visualization
@ -81,20 +85,12 @@ const pointLayer = new PointLayer()
scene.addLayer(pointLayer); scene.addLayer(pointLayer);
``` ```
## :memo: Documentation
- [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)
- [Contributor documentation](./.github/CONTRIBUTING.md)
## 🔗 Links ## 🔗 Links
- [L7Plot](https://github.com/antvis/L7Plot)
- [L7 React](https://github.com/antvis/L7-React)
- [L7 Boundary](https://github.com/antvis/L7-boundary)
- [L7Draw](https://github.com/antvis/L7Draw) - [L7Draw](https://github.com/antvis/L7Draw)
- [L7Plot](https://github.com/antvis/L7Plot)
- [LarkMap](https://github.com/antvis/LarkMap)
- [LocationInsight](https://locationinsight.antv.antgroup.com)
## ✅ License ## ✅ License

View File

@ -1,23 +1,28 @@
## L7 地理空间数据可视分析引擎 <img src="https://gw.alipayobjects.com/zos/antfincdn/R8sN%24GNdh6/language.svg" width="18"> [English](./README.en-US.md) | 简体中文
<h1 align="center">L7</h1>
<div align="center">
🌍 地理空间数据可视分析引擎
[![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) [![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)
[README](./README.en-US.md) <p align="center">
<a href="https://l7.antv.antgroup.com/tutorial/quickstart">教程</a>
<a href="https://l7.antv.antgroup.com/api/scene">文档</a>
<a href="https://l7.antv.antgroup.com/examples">示例</a>
<a href="./.github/CONTRIBUTING.md">贡献</a>
</p>
[GitHub](https://github.com/antvis/L7) ![L7 demo](https://gw.alipayobjects.com/mdn/rms_855bab/afts/img/A*S-73QpO8d0YAAAAAAAAAAABkARQnAQ)
```bash </div>
git clone https://github.com/antvis/L7 --depth=1
```
L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析开发框架。L7 中的 L 代表 Location7 代表世界七大洲寓意能为全球位置数据提供可视分析的能力。L7 专注数据可视化化表达,通过颜色、大小、纹理,方向,体积等视觉变量设置实现从数据到信息清晰,有效的表达。 L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析开发框架。L7 中的 L 代表 Location7 代表世界七大洲寓意能为全球位置数据提供可视分析的能力。L7 专注数据可视化化表达,通过颜色、大小、纹理,方向,体积等视觉变量设置实现从数据到信息清晰,有效的表达。
[官网地址](https://l7.antv.vision/zh)
L7 能够满足常见的地图图表BI 系统的可视化分析、以及 GIS交通电力国土农业城市等领域的空间信息管理分析等应用系统开发需求。 L7 能够满足常见的地图图表BI 系统的可视化分析、以及 GIS交通电力国土农业城市等领域的空间信息管理分析等应用系统开发需求。
![L7 demo](https://gw.alipayobjects.com/mdn/rms_855bab/afts/img/A*S-73QpO8d0YAAAAAAAAAAABkARQnAQ)
## 🌟 核心特性 ## 🌟 核心特性
🌏 数据驱动可视化展示 🌏 数据驱动可视化展示
@ -113,20 +118,12 @@ const pointLayer = new PointLayer()
scene.addLayer(pointLayer); scene.addLayer(pointLayer);
``` ```
## :memo: 文档
- [开始使用](https://l7.antv.vision/en/docs/api/l7)
- [教程](https://l7.antv.vision/en/docs/tutorial/quickstart)
- [文档](https://l7.antv.vision/en/docs/api/l7)
- [示例](https://l7.antv.vision/en/examples/gallery/basic)
- [贡献](./.github/CONTRIBUTING.md)
## 🔗 Links ## 🔗 Links
- [L7Plot](https://github.com/antvis/L7Plot)
- [L7 React](https://github.com/antvis/L7-React)
- [L7 Boundary](https://github.com/antvis/L7-boundary)
- [L7Draw](https://github.com/antvis/L7Draw) - [L7Draw](https://github.com/antvis/L7Draw)
- [L7Plot](https://github.com/antvis/L7Plot)
- [LarkMap](https://github.com/antvis/LarkMap)
- [LocationInsight](https://locationinsight.antv.antgroup.com)
## ✅ License ## ✅ License

View File

@ -1,16 +1,19 @@
import { defineConfig } from 'dumi'; import { defineConfig } from 'dumi';
const path = require('path'); const path = require('path');
const env = process.env.NODE_ENV; const env = process.env.NODE_ENV;
console.log(env) console.log(env);
export default defineConfig({ export default defineConfig({
locales: [{ id: 'zh', name: '中文' }, { id: 'en', name: 'English' }], locales: [
{ id: 'zh', name: '中文' },
{ id: 'en', name: 'English' },
],
themeConfig: { themeConfig: {
title: 'L7', title: 'L7',
isAntVSite: false, isAntVSite: false,
description: description:
'Large-scale WebGL-powered Geospatial data visualization analysis framework', 'Large-scale WebGL-powered Geospatial data visualization analysis framework',
siteUrl: 'https://l7.antv.vision', siteUrl: 'https://l7.antv.antgroup.com/',
githubUrl: 'https://github.com/antvis/L7', githubUrl: 'https://github.com/antvis/L7',
keywords: keywords:
'l7, L7, antv/l7, 地理, 空间可视化, Webgl, webgl, 地图, webgis, 3d, GIS, gis, Mapbox, deckgl, g2, g6, antv,', 'l7, L7, antv/l7, 地理, 空间可视化, Webgl, webgl, 地图, webgis, 3d, GIS, gis, Mapbox, deckgl, g2, g6, antv,',
@ -22,10 +25,12 @@ export default defineConfig({
en: 'L7 Geospatial Visualization', en: 'L7 Geospatial Visualization',
}, },
description: { description: {
zh: '蚂蚁集团 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析引擎。', zh:
'蚂蚁集团 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析引擎。',
en: 'Geospatial Data Visualization Analysis Engine', en: 'Geospatial Data Visualization Analysis Engine',
}, },
image: 'https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*cCI7RaJs46AAAAAAAAAAAABkARQnAQ', image:
'https://gw.alipayobjects.com/mdn/antv_site/afts/img/A*cCI7RaJs46AAAAAAAAAAAABkARQnAQ',
buttons: [ buttons: [
{ {
text: { text: {
@ -44,7 +49,7 @@ export default defineConfig({
}, },
], ],
}, },
msfu:true, msfu: true,
features: [ features: [
{ {
icon: icon:
@ -55,7 +60,8 @@ export default defineConfig({
}, },
description: { description: {
zh: '支持地图底图,渲染引擎,图层自由定制、扩展,组合', zh: '支持地图底图,渲染引擎,图层自由定制、扩展,组合',
en: 'Support many basemap, many rendering engine, and layer free customization, extension, combination', en:
'Support many basemap, many rendering engine, and layer free customization, extension, combination',
}, },
}, },
{ {
@ -67,7 +73,8 @@ export default defineConfig({
}, },
description: { description: {
zh: '以图形符号学地理设计体系理论基础,易用、易理解、专业、专注', zh: '以图形符号学地理设计体系理论基础,易用、易理解、专业、专注',
en: 'Generating high quality statistical charts through a few lines of code.', en:
'Generating high quality statistical charts through a few lines of code.',
}, },
}, },
{ {
@ -79,7 +86,8 @@ export default defineConfig({
}, },
description: { description: {
zh: '支持海量数据2D、3D动态可交互高性能渲染', zh: '支持海量数据2D、3D动态可交互高性能渲染',
en: 'Support many basemap, many rendering engine, and layer free customization, extension, combination', en:
'Support many basemap, many rendering engine, and layer free customization, extension, combination',
}, },
}, },
], ],
@ -92,7 +100,8 @@ export default defineConfig({
}, },
description: { description: {
zh: '区域化网格化数据管理指挥分配场景', zh: '区域化网格化数据管理指挥分配场景',
en: 'We are now working on some advanced and powerful chart features.', en:
'We are now working on some advanced and powerful chart features.',
}, },
link: 'https://antv.vision/Dipper/~demos/docs-task', link: 'https://antv.vision/Dipper/~demos/docs-task',
image: image:
@ -106,7 +115,8 @@ export default defineConfig({
}, },
description: { description: {
zh: '区域化网格化数据分析场景', zh: '区域化网格化数据分析场景',
en: 'We are now working on some advanced and powerful chart features.', en:
'We are now working on some advanced and powerful chart features.',
}, },
link: 'https://antv.vision/Dipper/~demos/docs-analysis', link: 'https://antv.vision/Dipper/~demos/docs-analysis',
image: image:
@ -121,7 +131,8 @@ export default defineConfig({
}, },
title: { title: {
zh: 'L7 从矢量到遥感,从引擎到平台,探索地理分析的远方', zh: 'L7 从矢量到遥感,从引擎到平台,探索地理分析的远方',
en: 'From vector to remote sensing, from engine to platform, explore the distance of geographical analysis', en:
'From vector to remote sensing, from engine to platform, explore the distance of geographical analysis',
}, },
date: '2022.11.22', date: '2022.11.22',
link: 'https://www.yuque.com/antv/blog/zrz77eat2m4wb7yk', link: 'https://www.yuque.com/antv/blog/zrz77eat2m4wb7yk',
@ -154,59 +165,67 @@ export default defineConfig({
], ],
cases: [ cases: [
{ {
logo: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*-kafQrA1ky4AAAAAAAAAAAAADmJ7AQ/fmt.webp', logo:
'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*-kafQrA1ky4AAAAAAAAAAAAADmJ7AQ/fmt.webp',
title: { title: {
zh: 'LarkMap 空间数据可视分析组件库', zh: 'LarkMap 空间数据可视分析组件库',
en: 'LarkMap ', en: 'LarkMap ',
}, },
description: { description: {
zh: '新一代 React 地图可视分析组件库,提供丰富/高效/专业/易用的可视化组件,一站式满足地理可视化需求。', zh:
en: 'The new generation of React map visual analysis component library provides rich/efficient/professional/easy-to-use visual components to meet the needs of geographic visualization in a one-stop manner.', '新一代 React 地图可视分析组件库,提供丰富/高效/专业/易用的可视化组件,一站式满足地理可视化需求。',
en:
'The new generation of React map visual analysis component library provides rich/efficient/professional/easy-to-use visual components to meet the needs of geographic visualization in a one-stop manner.',
}, },
link: `https://larkmap.antv.antgroup.com/`, link: `https://larkmap.antv.antgroup.com/`,
image: 'https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*5iCQSqov5p4AAAAAAAAAAAAADmJ7AQ/fmt.webp', image:
'https://mdn.alipayobjects.com/mdn/huamei_qa8qxu/afts/img/A*5iCQSqov5p4AAAAAAAAAAAAADmJ7AQ/fmt.webp',
isAppLogo: true, isAppLogo: true,
}, },
{ {
logo: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*yaEWT706NFoAAAAAAAAAAAAADmJ7AQ/original', logo:
'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*yaEWT706NFoAAAAAAAAAAAAADmJ7AQ/original',
title: { title: {
zh: 'LocationInsight 空间数据可视分析组件库', zh: 'LocationInsight 空间数据可视分析组件库',
en: 'LocationInsight', en: 'LocationInsight',
}, },
description: { description: {
zh: '下一代地理空间数据可视分析平台,可配置出丰富的地理可视化效果提供洞察分析、地图应用搭建、开放扩展能力', zh:
en: 'The next generation geospatial data visual analysis platform can be configured with rich geographic visualization effects to provide insight analysis, map application construction, and open expansion capabilities', '下一代地理空间数据可视分析平台,可配置出丰富的地理可视化效果提供洞察分析、地图应用搭建、开放扩展能力',
en:
'The next generation geospatial data visual analysis platform can be configured with rich geographic visualization effects to provide insight analysis, map application construction, and open expansion capabilities',
}, },
link: `https://larkmap.antv.antgroup.com/`, link: `https://larkmap.antv.antgroup.com/`,
image: 'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*tR2BTIG6Bz8AAAAAAAAAAAAADmJ7AQ/original', image:
'https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*tR2BTIG6Bz8AAAAAAAAAAAAADmJ7AQ/original',
isAppLogo: true, isAppLogo: true,
}, },
], ],
ecosystems: [ ecosystems: [
{ {
name: { name: {
zh: 'LarkMap 地图空间可视化组件库', zh: 'LarkMap',
en: 'L7 For React', en: 'L7 For React',
}, },
url: 'https://larkmap.antv.antgroup.com/', url: 'https://larkmap.antv.antgroup.com/',
}, },
{ {
name: { name: {
zh: 'L7 Plot 地图图表库', zh: 'L7Plot',
en: 'L7Plot', en: 'L7Plot',
}, },
url: 'https://l7plot.antv.vision/', url: 'https://l7plot.antv.antgroup.com/',
}, },
{ {
name: { name: {
zh: 'L7Draw 地理围栏绘制组件库', zh: 'L7Draw',
en: 'L7Draw', en: 'L7Draw',
}, },
url: 'http://antv.vision/L7Draw/', url: 'http://antv.vision/L7Draw/',
}, },
{ {
name: { name: {
zh: 'LocationInsight 地理空间数据可视分析平台', zh: 'LocationInsight',
en: 'LocationInsight', en: 'LocationInsight',
}, },
url: 'https://li.antv.antgroup.com/#/home', url: 'https://li.antv.antgroup.com/#/home',
@ -380,7 +399,7 @@ export default defineConfig({
en: 'TileLayer', en: 'TileLayer',
}, },
order: 10, order: 10,
}, },
{ {
slug: 'api/other', slug: 'api/other',
title: { title: {
@ -592,19 +611,21 @@ export default defineConfig({
indexName: 'antv_l7', indexName: 'antv_l7',
}, },
}, },
extraBabelPlugins: env === 'development'? [ extraBabelPlugins:
// 开发模式下以原始文本引入,便于调试 env === 'development'
[ ? [
// import glsl as raw text // 开发模式下以原始文本引入,便于调试
'babel-plugin-inline-import', [
{ extensions: ['.glsl','.worker.js'] }, // import glsl as raw text
], 'babel-plugin-inline-import',
// ['transform-import-css-l7'], { extensions: ['.glsl', '.worker.js'] },
]:[], ],
links: [ // ['transform-import-css-l7'],
], ]
: [],
links: [],
scripts: [ scripts: [
'https://webapi.amap.com/maps?v=2.0&key=ff533602d57df6f8ab3b0fea226ae52f' 'https://webapi.amap.com/maps?v=2.0&key=ff533602d57df6f8ab3b0fea226ae52f',
], ],
internalSite: { internalSite: {
url: 'https://s2.antv.antgroup.com', url: 'https://s2.antv.antgroup.com',
@ -613,19 +634,22 @@ export default defineConfig({
en: 'China Mirror', en: 'China Mirror',
}, },
}, },
alias: env === 'development'? { alias:
'@antv/l7': path.resolve(__dirname, '../l7/src'), env === 'development'
'@antv/l7-mini': path.resolve(__dirname, '../mini/src'), ? {
'@antv/l7-maps/lib/map': path.resolve(__dirname, '../maps/src/map'), '@antv/l7': path.resolve(__dirname, '../l7/src'),
'@antv/l7-core': path.resolve(__dirname, '../core/src'), '@antv/l7-mini': path.resolve(__dirname, '../mini/src'),
'@antv/l7-component': path.resolve(__dirname, '../component/src'), '@antv/l7-maps/lib/map': path.resolve(__dirname, '../maps/src/map'),
'@antv/l7-three': path.resolve(__dirname, '../three/src'), '@antv/l7-core': path.resolve(__dirname, '../core/src'),
'@antv/l7-layers': path.resolve(__dirname, '../layers/src'), '@antv/l7-component': path.resolve(__dirname, '../component/src'),
'@antv/l7-map': path.resolve(__dirname, '../map/src'), '@antv/l7-three': path.resolve(__dirname, '../three/src'),
'@antv/l7-maps': path.resolve(__dirname, '../maps/src'), '@antv/l7-layers': path.resolve(__dirname, '../layers/src'),
'@antv/l7-renderer': path.resolve(__dirname, '../renderer/src'), '@antv/l7-map': path.resolve(__dirname, '../map/src'),
'@antv/l7-scene': path.resolve(__dirname, '../scene/src'), '@antv/l7-maps': path.resolve(__dirname, '../maps/src'),
'@antv/l7-source': path.resolve(__dirname, '../source/src'), '@antv/l7-renderer': path.resolve(__dirname, '../renderer/src'),
'@antv/l7-utils': path.resolve(__dirname, '../utils/src') '@antv/l7-scene': path.resolve(__dirname, '../scene/src'),
}:{} '@antv/l7-source': path.resolve(__dirname, '../source/src'),
}); '@antv/l7-utils': path.resolve(__dirname, '../utils/src'),
}
: {},
});

View File

@ -40,7 +40,7 @@ scene.on('loaded', () => {
img: img:
'https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*GRb1TKp4HcMAAAAAAAAAAAAAARQnAQ', 'https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*GRb1TKp4HcMAAAAAAAAAAAAAARQnAQ',
// 跳转地址 // 跳转地址
href: 'https://l7.antv.vision/', href: 'https://l7.antv.antgroup.com',
}); });
scene.addControl(logo); scene.addControl(logo);
}); });

View File

@ -1,6 +1,6 @@
## Usage ## Usage
1. 按图表方式,[在线示例](https://l7plot.antv.vision/zh/examples/choropleth/administrative#china-map) 1. 按图表方式,[在线示例](https://l7plot.antv.antgroup.com/zh/examples/choropleth/administrative#china-map)
```js ```js
import { Choropleth } from '@antv/l7plot'; import { Choropleth } from '@antv/l7plot';
@ -32,4 +32,4 @@ scene.on('loaded', () => {
## API ## API
Choropleth 具体 API 文档移步 [L7Plot 官网](https://l7plot.antv.vision/zh/docs/api/plots/choropleth)。 Choropleth 具体 API 文档移步 [L7Plot 官网](https://l7plot.antv.antgroup.com/zh/docs/api/plots/choropleth)。

View File

@ -13,7 +13,7 @@
"relational data", "relational data",
"site" "site"
], ],
"homepage": "https://L7.antv.vision", "homepage": "https://l7.antv.antgroup.com",
"bugs": { "bugs": {
"url": "https://github.com/antvis/L7/issues" "url": "https://github.com/antvis/L7/issues"
}, },