This commit is contained in:
parent
b52bfd4f57
commit
e0f36b043f
@ -117,7 +117,7 @@ export class ItemVectorSourceComponent extends SourceVectorComponent implements
|
||||
if (!this.stylesCache[key]) {
|
||||
if (this.itemTypeService.itemTypes[itemType]) {
|
||||
let itemTypeEntry = this.itemTypeService.itemTypes[itemType];
|
||||
let fillColor = color.asArray(itemType.iconColor);
|
||||
let fillColor = color.asArray(itemTypeEntry.iconColor);
|
||||
fillColor[3] = 0;
|
||||
this.stylesCache[key] = new style.Style({
|
||||
image: itemTypeEntry.icon ? new style.Icon({
|
||||
|
Loading…
Reference in New Issue
Block a user