This commit is contained in:
parent
3fd4ac2f94
commit
2b2e1bfafa
@ -212,6 +212,7 @@ export class ItemVectorSourceComponent extends SourceVectorComponent implements
|
|||||||
|
|
||||||
getDisplayTextForFeature(feature: Feature<Geometry>, zoom: number, overrule?: style.Text) {
|
getDisplayTextForFeature(feature: Feature<Geometry>, zoom: number, overrule?: style.Text) {
|
||||||
if (!feature) return null;
|
if (!feature) return null;
|
||||||
|
|
||||||
const propertiesToShow: string[] = this.displayMapFeatureSettings[feature.get('itemType')];
|
const propertiesToShow: string[] = this.displayMapFeatureSettings[feature.get('itemType')];
|
||||||
if (!propertiesToShow) return null;
|
if (!propertiesToShow) return null;
|
||||||
if (propertiesToShow.length <= 0) return null;
|
if (propertiesToShow.length <= 0) return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user