mirror of https://gitee.com/antv-l7/antv-l7
docs: update readme
This commit is contained in:
parent
3d4f1c3eb7
commit
37f41579ff
|
@ -6,6 +6,8 @@ Large-scale WebGL-powered Geospatial data visualization analysis framework.
|
|||
|
||||
[中文 README](./README.zh-CN.md)
|
||||
|
||||
[GitHub](https://github.com/antvis/L7)
|
||||
|
||||
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
|
||||
|
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
[![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.md)
|
||||
|
||||
[GitHub](https://github.com/antvis/L7)
|
||||
|
||||
L7 是由蚂蚁金服 AntV 数据可视化团队推出的基于 WebGL 的开源大规模地理空间数据可视分析开发框架。L7 中的 L 代表 Location,7 代表世界七大洲,寓意能为全球位置数据提供可视分析的能力。L7 专注数据可视化化表达,通过颜色、大小、纹理,方向,体积等视觉变量设置实现从数据到信息清晰,有效的表达。
|
||||
|
||||
L7 能够满足常见的地图图表,BI 系统的可视化分析、以及 GIS,交通,电力,国土,农业,城市等领域的空间信息管理,分析等应用系统开发需求。
|
||||
|
|
|
@ -162,31 +162,21 @@ coordinates 包含两个坐标,
|
|||
第二个坐标 对应 x1, y1
|
||||
|
||||
```javascript
|
||||
const data = [
|
||||
{
|
||||
"id": "1",
|
||||
"coord": [
|
||||
[
|
||||
101.953125,
|
||||
50.51342652633956
|
||||
],
|
||||
[
|
||||
119.17968749999999,
|
||||
33.137551192346145
|
||||
]
|
||||
]
|
||||
}
|
||||
];
|
||||
layer.source(
|
||||
data,
|
||||
{
|
||||
parser:{
|
||||
type:'json',
|
||||
coordinates: "coord",
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
const data = [
|
||||
{
|
||||
id: '1',
|
||||
coord: [
|
||||
[101.953125, 50.51342652633956],
|
||||
[119.17968749999999, 33.137551192346145],
|
||||
],
|
||||
},
|
||||
];
|
||||
layer.source(data, {
|
||||
parser: {
|
||||
type: 'json',
|
||||
coordinates: 'coord',
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
如果需要使用绘制轨迹数据,需要通过 coodinates 指定线的点序列。
|
||||
|
|
|
@ -164,30 +164,21 @@ coordinates 包含两个坐标,
|
|||
第二个坐标 对应 x1, y1
|
||||
|
||||
```javascript
|
||||
const data = [
|
||||
{
|
||||
"id": "1",
|
||||
"coord": [
|
||||
[
|
||||
101.953125,
|
||||
50.51342652633956
|
||||
],
|
||||
[
|
||||
119.17968749999999,
|
||||
33.137551192346145
|
||||
]
|
||||
]
|
||||
}
|
||||
];
|
||||
layer.source(
|
||||
data,
|
||||
{
|
||||
parser:{
|
||||
type:'json',
|
||||
coordinates: "coord",
|
||||
}
|
||||
})
|
||||
|
||||
const data = [
|
||||
{
|
||||
id: '1',
|
||||
coord: [
|
||||
[101.953125, 50.51342652633956],
|
||||
[119.17968749999999, 33.137551192346145],
|
||||
],
|
||||
},
|
||||
];
|
||||
layer.source(data, {
|
||||
parser: {
|
||||
type: 'json',
|
||||
coordinates: 'coord',
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
如果需要使用绘制轨迹数据,需要通过 coodinates 指定线的点序列。
|
||||
|
|
Loading…
Reference in New Issue