mirror of https://gitee.com/antv-l7/antv-l7
style: code style
This commit is contained in:
parent
8bdd520c72
commit
2fe7778adc
|
@ -510,8 +510,8 @@ export default class BaseLayer<ChildLayerStyleOptions = {}> extends EventEmitter
|
|||
}
|
||||
|
||||
/**
|
||||
* 渲染所有的图层
|
||||
*/
|
||||
* 渲染所有的图层
|
||||
*/
|
||||
public renderLayers(): void {
|
||||
this.rendering = true;
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@ import {
|
|||
IModelInitializationOptions,
|
||||
IUniform,
|
||||
} from '@antv/l7-core';
|
||||
import { isPlainObject, isTypedArray } from 'lodash';
|
||||
import regl from 'l7regl';
|
||||
import { isPlainObject, isTypedArray } from 'lodash';
|
||||
import {
|
||||
blendEquationMap,
|
||||
blendFuncMap,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { gl } from '@antv/l7-core';
|
||||
import 'reflect-metadata';
|
||||
import regl from 'l7regl';
|
||||
import 'reflect-metadata';
|
||||
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
|
||||
import ReglAttribute from '../ReglAttribute';
|
||||
import ReglBuffer from '../ReglBuffer';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { gl } from '@antv/l7-core';
|
||||
import 'reflect-metadata';
|
||||
import regl from 'l7regl';
|
||||
import 'reflect-metadata';
|
||||
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
|
||||
import ReglAttribute from '../ReglAttribute';
|
||||
import ReglBuffer from '../ReglBuffer';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { gl } from '@antv/l7-core';
|
||||
import 'reflect-metadata';
|
||||
import regl from 'l7regl';
|
||||
import 'reflect-metadata';
|
||||
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
|
||||
import ReglAttribute from '../ReglAttribute';
|
||||
import ReglBuffer from '../ReglBuffer';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { gl } from '@antv/l7-core';
|
||||
import 'reflect-metadata';
|
||||
import regl from 'l7regl';
|
||||
import 'reflect-metadata';
|
||||
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
|
||||
import ReglAttribute from '../ReglAttribute';
|
||||
import ReglBuffer from '../ReglBuffer';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'reflect-metadata';
|
||||
import regl from 'l7regl';
|
||||
import 'reflect-metadata';
|
||||
import ReglModel from '../ReglModel';
|
||||
import createContext from './utils/create-context';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'reflect-metadata';
|
||||
import regl from 'l7regl';
|
||||
import 'reflect-metadata';
|
||||
import ReglFramebuffer from '../ReglFramebuffer';
|
||||
import ReglModel from '../ReglModel';
|
||||
import ReglTexture2D from '../ReglTexture2D';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { gl } from '@antv/l7-core';
|
||||
import 'reflect-metadata';
|
||||
import regl from 'l7regl';
|
||||
import 'reflect-metadata';
|
||||
import copy from '../../../../core/src/shaders/post-processing/copy.glsl';
|
||||
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
|
||||
import { ReglRendererService } from '../../index';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { gl } from '@antv/l7-core';
|
||||
import 'reflect-metadata';
|
||||
import regl from 'l7regl';
|
||||
import 'reflect-metadata';
|
||||
import copy from '../../../../core/src/shaders/post-processing/copy.glsl';
|
||||
import quad from '../../../../core/src/shaders/post-processing/quad.glsl';
|
||||
import ReglAttribute from '../ReglAttribute';
|
||||
|
|
|
@ -22,8 +22,8 @@ import {
|
|||
ITexture2DInitializationOptions,
|
||||
} from '@antv/l7-core';
|
||||
import { injectable } from 'inversify';
|
||||
import 'reflect-metadata';
|
||||
import regl from 'l7regl';
|
||||
import 'reflect-metadata';
|
||||
import ReglAttribute from './ReglAttribute';
|
||||
import ReglBuffer from './ReglBuffer';
|
||||
import ReglElements from './ReglElements';
|
||||
|
|
|
@ -127,9 +127,9 @@ export default class ScaleComponent extends React.Component {
|
|||
scene.addLayer(layer);
|
||||
});
|
||||
|
||||
scene.on('loaded', () => {
|
||||
scene.addLayer(imageLayer);
|
||||
});
|
||||
scene.on('loaded', () => {
|
||||
scene.addLayer(imageLayer);
|
||||
});
|
||||
}
|
||||
|
||||
public render() {
|
||||
|
|
Loading…
Reference in New Issue