Skip to content

Commit

Permalink
add projection to MapInfoToolTip
Browse files Browse the repository at this point in the history
  • Loading branch information
cazitouni authored and manisandro committed Nov 6, 2023
1 parent a5d5d2e commit 55298cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/MapInfoTooltip.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class MapInfoTooltip extends React.Component {
</tbody>
</table>
{routingButtons}
{this.props.plugins.map((Plugin, idx) => (<Plugin key={idx} point={this.state.point} closePopup={this.clear} />))}
{this.props.plugins.map((Plugin, idx) => (<Plugin key={idx} point={this.state.point} closePopup={this.clear} projection={this.props.map.projection} />))}
</div>
</div>
</div>
Expand All @@ -216,4 +216,4 @@ export default (plugins) => {
})), {
setCurrentTask: setCurrentTask
})(MapInfoTooltip);
};
};

0 comments on commit 55298cc

Please sign in to comment.