Skip to content

Commit

Permalink
fix(ol): fix ol.style.Style assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Apr 13, 2018
1 parent 444239a commit 76017f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/map/shared/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 76017f5

Please sign in to comment.