Remove maki file name postfix "-11" after update

This commit is contained in:
Norbert Renner 2022-05-18 16:02:12 +02:00
parent 89d9e8763a
commit e863e4188c
2 changed files with 27 additions and 28 deletions

View file

@ -191,8 +191,7 @@ BR.LayersConfig = L.Class.extend({
if (icon && iconPrefix.test(icon)) {
const iconName = icon.replace(iconPrefix, '');
const postfix = icon.startsWith('maki-') ? '-11' : '';
iconUrl = `dist/images/${iconName}${postfix}.svg`;
iconUrl = `dist/images/${iconName}.svg`;
}
return iconUrl;