diff --git a/README.md b/README.md index a6d4f818ae..8c9829c66c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README.zh-CN.md b/README.zh-CN.md index e6b2b31d7a..9cbca8f6e3 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -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,交通,电力,国土,农业,城市等领域的空间信息管理,分析等应用系统开发需求。 diff --git a/docs/api/source/json.en.md b/docs/api/source/json.en.md index a35033767c..e1ed3045f6 100644 --- a/docs/api/source/json.en.md +++ b/docs/api/source/json.en.md @@ -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 指定线的点序列。 diff --git a/docs/api/source/json.zh.md b/docs/api/source/json.zh.md index 01d574fab7..868a670235 100644 --- a/docs/api/source/json.zh.md +++ b/docs/api/source/json.zh.md @@ -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 指定线的点序列。