mirror of https://gitee.com/antv-l7/antv-l7
PolygonLayer 支持最多3个平行光源配置 PolygonLayer 支持最多 3 个平行光源配置 ```javascript .style({ lights: [ { type: 'directional', direction: [ 1, 10.5, 12 ], ambient: [ 0.2, 0.2, 0.2 ], diffuse: 'red', specular: [ 0.1, 0.1, 0.1 ] }, { type: 'directional', direction: [ 1, -10.5, 12 ], ambient: [ 0.2, 0.2, 0.2 ], diffuse: 'green', specular: [ 0.1, 0.1, 0.1 ] }, ] }) ``` See merge request !33 |
||
---|---|---|
.github | ||
bin | ||
bundler | ||
demos | ||
docs | ||
src | ||
test | ||
.babelrc | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.npmignore | ||
.si.yml | ||
.torch.compile.opts.js | ||
.travis.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
CONTRIBUTING.zh-CN.md | ||
LICENSE | ||
README.md | ||
README.zh-CN.md | ||
package.json | ||
webpack-dev.config.js | ||
webpack.config.js |
README.md
L7
Development
$ npm install
# run test case
$ npm run test-live
# build watching file changes and run demos
$ npm run dev
# run demos
$ npm run demos
visit online demo https://antv.alipay.com/zh-cn/l7/1.x/demo/index.html