mirror of https://gitee.com/antv-l7/antv-l7
style: lint style
This commit is contained in:
parent
1cfefa4b89
commit
2a20cd4c23
|
@ -95,7 +95,6 @@ export default class SimpleLineModel extends BaseModel {
|
|||
}
|
||||
|
||||
public buildModels(): IModel[] {
|
||||
|
||||
return [
|
||||
this.layer.buildLayerModel({
|
||||
moduleName: 'line',
|
||||
|
@ -109,7 +108,7 @@ export default class SimpleLineModel extends BaseModel {
|
|||
];
|
||||
}
|
||||
protected registerBuiltinAttributes() {
|
||||
let c = 0
|
||||
const c = 0;
|
||||
this.styleAttributeService.registerStyleAttribute({
|
||||
name: 'distance',
|
||||
type: AttributeType.Attribute,
|
||||
|
|
|
@ -523,7 +523,6 @@ export default class ExtrudePolyline {
|
|||
this.thickness,
|
||||
this.totalDistance - segmentDistance,
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
indices.push(index + 0, index + 1, index + 2);
|
||||
|
@ -540,7 +539,6 @@ export default class ExtrudePolyline {
|
|||
this.totalDistance,
|
||||
);
|
||||
|
||||
|
||||
// this.extrusions(positions, normals, cur, this.normal, this.thickness);
|
||||
indices.push(
|
||||
...(this.lastFlip === 1
|
||||
|
|
|
@ -301,7 +301,7 @@ export default class GridTile2 extends React.Component {
|
|||
vertexHeightScale: 2000,
|
||||
// opacity: 0.4,
|
||||
sourceColor: '#f00',
|
||||
targetColor: '#0f0',
|
||||
targetColor: '#0f0',
|
||||
});
|
||||
scene.addLayer(layer);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue