diff --git a/src/lib/map/shared/map.ts b/src/lib/map/shared/map.ts index 40db3ec280..2e93e5bdf7 100644 --- a/src/lib/map/shared/map.ts +++ b/src/lib/map/shared/map.ts @@ -325,7 +325,7 @@ export class IgoMap { if (geometry === null) { return; } if (geometry.getType() === 'Point') { - feature.setStyle(this.overlayMarkerStyle); + feature.setStyle([this.overlayMarkerStyle]); } this.overlayDataSource.ol.addFeature(feature);