Aw4751 eslint fixes
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
@@ -15,13 +15,13 @@ export interface IItemLayer {
|
||||
export class ItemLayer implements IItemLayer {
|
||||
public item: IItem;
|
||||
public layer: Layer<Source> = null;
|
||||
public visible: boolean = true;
|
||||
public legendVisible: boolean = false;
|
||||
public visible = true;
|
||||
public legendVisible = false;
|
||||
public projection: string;
|
||||
public opacity: number = 1;
|
||||
public layerIndex: number = -1;
|
||||
public opacity = 1;
|
||||
public layerIndex = -1;
|
||||
|
||||
constructor(item:IItem,opacity:number = 1, visible:boolean = true,layerIndex:number=-1) {
|
||||
constructor(item:IItem,opacity = 1, visible = true,layerIndex=-1) {
|
||||
this.item = item;
|
||||
this.opacity = opacity;
|
||||
this.visible = visible;
|
||||
@@ -42,7 +42,7 @@ export class TemporalItemLayer extends ItemLayer implements ITemporalItemLayer {
|
||||
public nextItemLayer:IItemLayer = null;
|
||||
public temporalItems:IItem[] = [];
|
||||
|
||||
constructor(item:IItem,opacity:number = 1, visible:boolean = true) {
|
||||
constructor(item:IItem,opacity = 1, visible = true) {
|
||||
super(item,opacity,visible)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user