fa9101ed04
* feat: add getModelMatrix into viewport * feat: 新增地球模式 (初步构建) * feat: 完善地球交互 * style: lint style * feat: 调整地球图层缩放的方向 * style: lint style * feat: 增加地球模式的 pointLayer/fill 图层 * style: lint style * feat: 增加地球、太阳的简单运动系统,优化部分代码结构 * fix: 修复时间点击出错 * style: lint style * fix: 修复地图 panBy 方法参数错误 * style: lint style * feat: pointLayer/cylinder 圆柱兼容地球模式 * style: lint style * feat: 修复 pointLayer/fill 在拾取是破面严重的情况 * style: lint style * feat: 增加 arc 弧度调节 * feat: 增加 lineLayer/arc3d 兼容地球模式 * style: lint style * feat: 增加地球图层 - 大气层 * style: lint style * feat: 增加设置可视化层背景色的能力 * style: lint style * feat: 增加地球外发光效果 * style: lint style * feat: 允许用户不使用 layer 的 source 方法 - 地球模式下光晕图层不需要传数据 * style: lint style * feat: 调整光晕的 shader 计算 * chore: update version 2.5.32 -> 2.5.33 * feat: 调整地球大气层的渲染层级 * style: lint style * feat: 调整案例 * style: lint style * chore: update version 2.5.34 -> 2.5.35 * feat: 增加地球图层的默认参数、调整部分代码 * style: lint style |
||
---|---|---|
.github | ||
.storybook | ||
.vscode | ||
build | ||
demos | ||
dev-docs | ||
docs | ||
examples | ||
jest | ||
packages | ||
site | ||
stories | ||
.editorconfig | ||
.eslintrc | ||
.gitignore | ||
.gitleaks.toml | ||
.prettierrc | ||
.stylelintrc | ||
.travis.yml | ||
.yarnrc | ||
CHANGELOG.md | ||
LICENSE.md | ||
README.en-US.md | ||
README.md | ||
babel.config.js | ||
beta.sh | ||
commitlint.config.js | ||
gatsby-browser.js | ||
gatsby-config.js | ||
gatsby-node.js | ||
jest.config.js | ||
latest.sh | ||
lerna.json | ||
package.json | ||
publish.sh | ||
tsconfig.build.json | ||
tsconfig.json | ||
tslint.json | ||
tslint.prod.json | ||
typings.d.ts |
README.en-US.md
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
🌄 L7 visualization demos
🌟 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);