mirror of https://gitee.com/antv-l7/antv-l7
style: lint style
This commit is contained in:
parent
22807a0fa7
commit
09af464412
|
@ -79,19 +79,21 @@ export default class ExtrudeModel extends BaseModel {
|
|||
}
|
||||
|
||||
public getShaders() {
|
||||
const { pickLight } = this.layer.getLayerConfig() as IPolygonLayerStyleOptions;
|
||||
if(pickLight) {
|
||||
const {
|
||||
pickLight,
|
||||
} = this.layer.getLayerConfig() as IPolygonLayerStyleOptions;
|
||||
if (pickLight) {
|
||||
return {
|
||||
frag: polygonExtrudePickLightFrag,
|
||||
vert: polygonExtrudePickLightVert,
|
||||
type: 'polygonExtrude'
|
||||
}
|
||||
type: 'polygonExtrude',
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
frag: polygonExtrudeFrag,
|
||||
vert: polygonExtrudeVert,
|
||||
type: 'polygonExtrude'
|
||||
}
|
||||
type: 'polygonExtrude',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue