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