Layout
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Peter (extern) 2023-08-25 11:07:21 +02:00
parent 3fd4ac2f94
commit 2b2e1bfafa

View File

@ -212,6 +212,7 @@ export class ItemVectorSourceComponent extends SourceVectorComponent implements
getDisplayTextForFeature(feature: Feature<Geometry>, zoom: number, overrule?: style.Text) {
if (!feature) return null;
const propertiesToShow: string[] = this.displayMapFeatureSettings[feature.get('itemType')];
if (!propertiesToShow) return null;
if (propertiesToShow.length <= 0) return null;