Skip to content

Commit

Permalink
fix(overlay): display feature's _mapTitle property
Browse files Browse the repository at this point in the history
  • Loading branch information
cbourget committed Mar 1, 2019
1 parent 24c91c6 commit 100c5bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/geo/src/lib/overlay/shared/overlay.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function createOverlayLayerStyle(): (olFeature: OlFeature) => olstyle.Style {
return (olFeature: OlFeature) => {
const geometryType = olFeature.getGeometry().getType();
const style = geometryType === 'Point' ? markerStyle : defaultStyle;
style.getText().setText(olFeature.get('mapTitle'));
style.getText().setText(olFeature.get('_mapTitle'));
return style;
};
}
Expand Down

0 comments on commit 100c5bd

Please sign in to comment.