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 ca57c27..84ea054 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 @@ -12,6 +12,14 @@ export abstract class AbstractItemListItemComponent { 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()