ee3cc51d3f
* feat: 图层气泡 LayerPopup props 中的 config => items,formatField 和 formatValue 支持字符串格式 * fix: 图层气泡组件 LayerPopup 新增包裹 key、value 的组件 * feat: 图层气泡组件新增支持对 field、value、content 的自定义内容 * docs: 修复官网 G2 升级导致无法渲染的问题 * docs: 新增图层气泡自定义内容示例 * fix: 修复重新更新 Popup 内容问题 * feat: 1.气泡组件 Popup 和 LayerPopup 新增自定义标题的能力 2.修复文档中表格内使用 | 的问题 * docs: 修复 LayerPopup 文档中 TS 类型定义顺序问题 Co-authored-by: yanxiong <oujinhui.ojh@antgroup.com> |
||
---|---|---|
.github | ||
.vscode | ||
build | ||
dev-demos | ||
dev-docs | ||
jest | ||
packages | ||
scripts | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.fatherrc.ts | ||
.gitignore | ||
.gitleaks.toml | ||
.prettierrc | ||
.stylelintrc | ||
.travis.yml | ||
.umirc.ts | ||
.yarnrc | ||
CHANGELOG.md | ||
LICENSE.md | ||
README.en-US.md | ||
README.md | ||
babel.config.js | ||
commitlint.config.js | ||
jest.config.js | ||
lerna.json | ||
package.json | ||
tsconfig.build.json | ||
tsconfig.json | ||
tslint.json | ||
tslint.prod.json | ||
typings.d.ts |
README.en-US.md
English | 简体中文
L7
🌍 Large-scale WebGL-powered Geospatial data visualization analysis framework.
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
🌟 Highlight features of L7 2.0
-
🌏 Data-driven Visualization
Layer visualization API design base Semiology of Graphics.
It supports rich map visualization types for a better insight on data.
-
🌏 High performance rendering with 2D/3D effect Real-time and dynamic rendering with millions of spatial data.
-
🌏 Simple and flexible data format
L7 supports a wide variety of data formats including CSV, JSON, geojson, among others, eliminating the need to run conversions ahead of time.
-
🌏 Multi-basemap
For global users, Mapbox is easy to be embedded by a simple line of code.
Getting Started
📦 Installation
npm install @antv/l7
Init Map by L7 scene
import { Scene } from '@antv/l7';
import { Mapbox } from '@antv/l7-maps';
const scene = new Scene({
id: 'map',
map: new Mapbox({
style: 'light',
pitch: 0,
center: [107.054293, 35.246265],
zoom: 4.056,
}),
});
Add Layer
import { PointLayer } from '@antv/l7';
const pointLayer = new PointLayer()
.source(data)
.shape('circle')
.size('mag', [1, 25])
.color('mag', ['#5B8FF9', '#5CCEA1'])
.style({
opacity: 0.3,
strokeWidth: 1,
});
scene.addLayer(pointLayer);