Skip to content

Commit 76a5ace

Browse files
committed
#254 map icons to be front
1 parent ea3a922 commit 76a5ace

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/gtt-client/init/layers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ function addVectorLayer(this: any, features: Feature<Geometry>[] | null): void {
182182
});
183183
this.vector.set('title', 'Features');
184184
this.vector.set('displayInLayerSwitcher', false);
185+
this.vector.on('prerender', () => this.map.flushDeclutterItems());
185186

186187
// Listen to the moveend event and show message when zoom level is too low
187188
let previousZoom = this.map.getView().getZoom();

0 commit comments

Comments
 (0)