mirror of https://gitee.com/antv-l7/antv-l7
docs: 更新 README 及新官网链接 (#1500)
This commit is contained in:
parent
4a1ba616b3
commit
868e504326
|
@ -2,6 +2,12 @@
|
|||
|
||||
👍🎉 欢迎向 L7 贡献代码! 🎉👍
|
||||
|
||||
## 下载源码
|
||||
|
||||
```bash
|
||||
git clone https://github.com/antvis/L7 --depth=1
|
||||
```
|
||||
|
||||
## 前置依赖安装
|
||||
|
||||
### 安装 Yarn
|
||||
|
@ -20,6 +26,7 @@
|
|||
## 安装依赖
|
||||
|
||||
安装依赖并完成 Yarn workspace 初始化:
|
||||
|
||||
```bash
|
||||
yarn install
|
||||
```
|
||||
|
@ -32,20 +39,22 @@ copy node_modules/gl/deps/windows/dll/x64/*.dll c:\windows\system32
|
|||
|
||||
## 运行 DEMO
|
||||
|
||||
|
||||
|
||||
```bash
|
||||
yarn dev
|
||||
```
|
||||
|
||||
打开 `http://localhost:6006/`:
|
||||
|
||||
## 运行测试
|
||||
|
||||
运行单元测试:
|
||||
|
||||
```bash
|
||||
yarn test
|
||||
```
|
||||
|
||||
运行单元测试并查看代码覆盖率:
|
||||
|
||||
```bash
|
||||
yarn coveralls
|
||||
```
|
||||
|
@ -53,21 +62,25 @@ yarn coveralls
|
|||
## 添加 Lerna package
|
||||
|
||||
添加一个新的 lerna 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)
|
||||
将 lodash 添加为所有 package 的依赖(不包含 root)
|
||||
|
||||
```bash
|
||||
yarn workspaces run add lodash
|
||||
```
|
||||
|
||||
将 typescript 设置为 root 的开发依赖
|
||||
|
||||
```bash
|
||||
yarn add -W -D typescript jest
|
||||
```
|
||||
|
@ -75,6 +88,7 @@ yarn add -W -D typescript jest
|
|||
## 提交代码
|
||||
|
||||
代替 `git commit` 提交:
|
||||
|
||||
```bash
|
||||
yarn commit
|
||||
```
|
||||
|
@ -86,10 +100,9 @@ yarn commit
|
|||
```bash
|
||||
yarn run version:prerelease
|
||||
```
|
||||
设置完成后需要commit一下代码
|
||||
|
||||
设置完成后需要 commit 一下代码
|
||||
|
||||
### 发布
|
||||
|
||||
yarn run release
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
👍🎉 Welcome to contribute code to L7! 🎉👍
|
||||
|
||||
## Source Code
|
||||
|
||||
```bash
|
||||
git clone https://github.com/antvis/L7 --depth=1
|
||||
```
|
||||
|
||||
## Pre-installation
|
||||
|
||||
### Install Yarn
|
||||
|
@ -20,6 +26,7 @@ See [other issues](https://github.com/antvis/L7/issues/101) during installation.
|
|||
## Install dependencies
|
||||
|
||||
Install dependencies and complete Yarn workspace initialization:
|
||||
|
||||
```bash
|
||||
yarn install
|
||||
```
|
||||
|
@ -33,11 +40,13 @@ copy node_modules/gl/deps/windows/dll/x64/*.dll c:\windows\system32
|
|||
## Run DEMO
|
||||
|
||||
Start each package code change monitoring:
|
||||
|
||||
```bash
|
||||
yarn watch
|
||||
```
|
||||
|
||||
Start Storybook, it will automatically open `http://localhost:6006/`:
|
||||
|
||||
```bash
|
||||
yarn storybook
|
||||
```
|
||||
|
@ -45,11 +54,13 @@ yarn storybook
|
|||
## Run test
|
||||
|
||||
Run unit tests:
|
||||
|
||||
```bash
|
||||
yarn test
|
||||
```
|
||||
|
||||
Run unit tests and view code coverage:
|
||||
|
||||
```bash
|
||||
yarn coveralls
|
||||
```
|
||||
|
@ -57,26 +68,31 @@ yarn coveralls
|
|||
## Add Lerna package
|
||||
|
||||
Add a new lerna package:
|
||||
|
||||
```bash
|
||||
lerna create my-pack -y
|
||||
```
|
||||
|
||||
Use ui-lib as a dependency of my-pack:
|
||||
|
||||
```bash
|
||||
yarn workspace my-pack add ui-lib/1.0.0
|
||||
```
|
||||
|
||||
Add lodash as a dependency of all packages (excluding root)
|
||||
|
||||
```bash
|
||||
yarn workspaces run add lodash
|
||||
```
|
||||
|
||||
Set typescript to root development dependency:
|
||||
|
||||
```bash
|
||||
yarn add -W -D typescript jest
|
||||
```
|
||||
|
||||
## Submit code
|
||||
|
||||
Instead of `git commit`:
|
||||
|
||||
```bash
|
||||
|
@ -90,6 +106,7 @@ yarn commit
|
|||
```bash
|
||||
yarn run version:prerelease
|
||||
```
|
||||
|
||||
After setting, you need to commit the code
|
||||
|
||||
### release
|
||||
|
|
|
@ -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)
|
||||
|
||||
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.
|
||||
|
||||
L7 focuses on geographic data expressiveness,interaction 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
|
||||
|
||||
- 🌏 Data-driven Visualization
|
||||
|
@ -81,20 +85,12 @@ const pointLayer = new 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
|
||||
|
||||
- [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)
|
||||
- [L7Plot](https://github.com/antvis/L7Plot)
|
||||
- [LarkMap](https://github.com/antvis/LarkMap)
|
||||
- [LocationInsight](https://locationinsight.antv.antgroup.com)
|
||||
|
||||
## ✅ License
|
||||
|
||||
|
|
39
README.md
39
README.md
|
@ -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)
|
||||
|
||||
[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
|
||||
git clone https://github.com/antvis/L7 --depth=1
|
||||
```
|
||||
</div>
|
||||
|
||||
L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析开发框架。L7 中的 L 代表 Location,7 代表世界七大洲,寓意能为全球位置数据提供可视分析的能力。L7 专注数据可视化化表达,通过颜色、大小、纹理,方向,体积等视觉变量设置实现从数据到信息清晰,有效的表达。
|
||||
|
||||
[官网地址](https://l7.antv.vision/zh)
|
||||
|
||||
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);
|
||||
```
|
||||
|
||||
## :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
|
||||
|
||||
- [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)
|
||||
- [L7Plot](https://github.com/antvis/L7Plot)
|
||||
- [LarkMap](https://github.com/antvis/LarkMap)
|
||||
- [LocationInsight](https://locationinsight.antv.antgroup.com)
|
||||
|
||||
## ✅ License
|
||||
|
||||
|
|
|
@ -15,8 +15,9 @@ export default class Logo extends Control<ILogoControlOption> {
|
|||
return {
|
||||
position: PositionType.BOTTOMLEFT,
|
||||
name: 'logo',
|
||||
href: 'https://l7.antv.vision/',
|
||||
img: 'https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*GRb1TKp4HcMAAAAAAAAAAAAAARQnAQ',
|
||||
href: 'https://l7.antv.antgroup.com/',
|
||||
img:
|
||||
'https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*GRb1TKp4HcMAAAAAAAAAAAAAARQnAQ',
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
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.
|
||||
|
||||
L7 focuses on geographic data expressiveness,interaction 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
|
||||
|
||||
- 🌏 Data-driven Visualization
|
||||
|
@ -81,20 +85,12 @@ const pointLayer = new 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
|
||||
|
||||
- [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)
|
||||
- [L7Plot](https://github.com/antvis/L7Plot)
|
||||
- [LarkMap](https://github.com/antvis/LarkMap)
|
||||
- [LocationInsight](https://locationinsight.antv.antgroup.com)
|
||||
|
||||
## ✅ License
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
[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
|
||||
git clone https://github.com/antvis/L7 --depth=1
|
||||
```
|
||||
</div>
|
||||
|
||||
L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析开发框架。L7 中的 L 代表 Location,7 代表世界七大洲,寓意能为全球位置数据提供可视分析的能力。L7 专注数据可视化化表达,通过颜色、大小、纹理,方向,体积等视觉变量设置实现从数据到信息清晰,有效的表达。
|
||||
|
||||
[官网地址](https://l7.antv.vision/zh)
|
||||
|
||||
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);
|
||||
```
|
||||
|
||||
## :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
|
||||
|
||||
- [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)
|
||||
- [L7Plot](https://github.com/antvis/L7Plot)
|
||||
- [LarkMap](https://github.com/antvis/LarkMap)
|
||||
- [LocationInsight](https://locationinsight.antv.antgroup.com)
|
||||
|
||||
## ✅ License
|
||||
|
||||
|
|
|
@ -1,16 +1,19 @@
|
|||
import { defineConfig } from 'dumi';
|
||||
const path = require('path');
|
||||
const env = process.env.NODE_ENV;
|
||||
console.log(env)
|
||||
console.log(env);
|
||||
export default defineConfig({
|
||||
locales: [{ id: 'zh', name: '中文' }, { id: 'en', name: 'English' }],
|
||||
locales: [
|
||||
{ id: 'zh', name: '中文' },
|
||||
{ id: 'en', name: 'English' },
|
||||
],
|
||||
|
||||
themeConfig: {
|
||||
title: 'L7',
|
||||
isAntVSite: false,
|
||||
description:
|
||||
'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',
|
||||
keywords:
|
||||
'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',
|
||||
},
|
||||
description: {
|
||||
zh: '蚂蚁集团 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析引擎。',
|
||||
zh:
|
||||
'蚂蚁集团 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析引擎。',
|
||||
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: [
|
||||
{
|
||||
text: {
|
||||
|
@ -44,7 +49,7 @@ export default defineConfig({
|
|||
},
|
||||
],
|
||||
},
|
||||
msfu:true,
|
||||
msfu: true,
|
||||
features: [
|
||||
{
|
||||
icon:
|
||||
|
@ -55,7 +60,8 @@ export default defineConfig({
|
|||
},
|
||||
description: {
|
||||
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: {
|
||||
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: {
|
||||
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: {
|
||||
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',
|
||||
image:
|
||||
|
@ -106,7 +115,8 @@ export default defineConfig({
|
|||
},
|
||||
description: {
|
||||
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',
|
||||
image:
|
||||
|
@ -121,7 +131,8 @@ export default defineConfig({
|
|||
},
|
||||
title: {
|
||||
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',
|
||||
link: 'https://www.yuque.com/antv/blog/zrz77eat2m4wb7yk',
|
||||
|
@ -154,59 +165,67 @@ export default defineConfig({
|
|||
],
|
||||
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: {
|
||||
zh: 'LarkMap 空间数据可视分析组件库',
|
||||
en: 'LarkMap ',
|
||||
},
|
||||
description: {
|
||||
zh: '新一代 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.',
|
||||
zh:
|
||||
'新一代 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/`,
|
||||
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,
|
||||
},
|
||||
{
|
||||
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: {
|
||||
zh: 'LocationInsight 空间数据可视分析组件库',
|
||||
en: 'LocationInsight',
|
||||
},
|
||||
description: {
|
||||
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',
|
||||
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',
|
||||
},
|
||||
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,
|
||||
},
|
||||
],
|
||||
ecosystems: [
|
||||
{
|
||||
name: {
|
||||
zh: 'LarkMap 地图空间可视化组件库',
|
||||
zh: 'LarkMap',
|
||||
en: 'L7 For React',
|
||||
},
|
||||
url: 'https://larkmap.antv.antgroup.com/',
|
||||
},
|
||||
{
|
||||
name: {
|
||||
zh: 'L7 Plot 地图图表库',
|
||||
zh: 'L7Plot',
|
||||
en: 'L7Plot',
|
||||
},
|
||||
url: 'https://l7plot.antv.vision/',
|
||||
url: 'https://l7plot.antv.antgroup.com/',
|
||||
},
|
||||
{
|
||||
name: {
|
||||
zh: 'L7Draw 地理围栏绘制组件库',
|
||||
zh: 'L7Draw',
|
||||
en: 'L7Draw',
|
||||
},
|
||||
url: 'http://antv.vision/L7Draw/',
|
||||
},
|
||||
{
|
||||
name: {
|
||||
zh: 'LocationInsight 地理空间数据可视分析平台',
|
||||
zh: 'LocationInsight',
|
||||
en: 'LocationInsight',
|
||||
},
|
||||
url: 'https://li.antv.antgroup.com/#/home',
|
||||
|
@ -592,19 +611,21 @@ export default defineConfig({
|
|||
indexName: 'antv_l7',
|
||||
},
|
||||
},
|
||||
extraBabelPlugins: env === 'development'? [
|
||||
extraBabelPlugins:
|
||||
env === 'development'
|
||||
? [
|
||||
// 开发模式下以原始文本引入,便于调试
|
||||
[
|
||||
// import glsl as raw text
|
||||
'babel-plugin-inline-import',
|
||||
{ extensions: ['.glsl','.worker.js'] },
|
||||
{ extensions: ['.glsl', '.worker.js'] },
|
||||
],
|
||||
// ['transform-import-css-l7'],
|
||||
]:[],
|
||||
links: [
|
||||
],
|
||||
]
|
||||
: [],
|
||||
links: [],
|
||||
scripts: [
|
||||
'https://webapi.amap.com/maps?v=2.0&key=ff533602d57df6f8ab3b0fea226ae52f'
|
||||
'https://webapi.amap.com/maps?v=2.0&key=ff533602d57df6f8ab3b0fea226ae52f',
|
||||
],
|
||||
internalSite: {
|
||||
url: 'https://s2.antv.antgroup.com',
|
||||
|
@ -613,7 +634,9 @@ export default defineConfig({
|
|||
en: 'China Mirror',
|
||||
},
|
||||
},
|
||||
alias: env === 'development'? {
|
||||
alias:
|
||||
env === 'development'
|
||||
? {
|
||||
'@antv/l7': path.resolve(__dirname, '../l7/src'),
|
||||
'@antv/l7-mini': path.resolve(__dirname, '../mini/src'),
|
||||
'@antv/l7-maps/lib/map': path.resolve(__dirname, '../maps/src/map'),
|
||||
|
@ -626,6 +649,7 @@ export default defineConfig({
|
|||
'@antv/l7-renderer': path.resolve(__dirname, '../renderer/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')
|
||||
}:{}
|
||||
'@antv/l7-utils': path.resolve(__dirname, '../utils/src'),
|
||||
}
|
||||
: {},
|
||||
});
|
|
@ -40,7 +40,7 @@ scene.on('loaded', () => {
|
|||
img:
|
||||
'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);
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## 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
|
||||
import { Choropleth } from '@antv/l7plot';
|
||||
|
@ -32,4 +32,4 @@ scene.on('loaded', () => {
|
|||
|
||||
## 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)。
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"relational data",
|
||||
"site"
|
||||
],
|
||||
"homepage": "https://L7.antv.vision",
|
||||
"homepage": "https://l7.antv.antgroup.com",
|
||||
"bugs": {
|
||||
"url": "https://github.com/antvis/L7/issues"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue