Layout
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details

master
Peter Bastiani 2023-08-25 11:07:21 +02:00
parent 3fd4ac2f94
commit 2b2e1bfafa
1 changed files with 1 additions and 0 deletions

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;