diff --git a/projects/common-map/src/fm-map/components/item-list-item/item-list-item.component.ts b/projects/common-map/src/fm-map/components/item-list-item/item-list-item.component.ts index 203ab81..ca57c27 100644 --- a/projects/common-map/src/fm-map/components/item-list-item/item-list-item.component.ts +++ b/projects/common-map/src/fm-map/components/item-list-item/item-list-item.component.ts @@ -21,6 +21,14 @@ export abstract class AbstractItemWidgetComponent { constructor(public store: Store, public itemTypeService: ItemTypeService) { } + + getScaledValue(value:number,scale:number = 0):number { + let v = value; + if(scale && scale != 0) { + v=scale*value; + } + return v; + } } @Injectable() @@ -33,13 +41,5 @@ export class ItemListItemComponent extends AbstractItemListItemComponent { constructor(store: Store, itemTypeService: ItemTypeService) { super(store, itemTypeService); - } - - getScaledValue(value:number,scale:number = 0):number { - let v = value; - if(scale && scale != 0) { - v=scale*value; - } - return v; - } + } }