Skip to content

Commit

Permalink
Drop unused geodesic prop from MeasurementSupport
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Oct 3, 2024
1 parent 2bcfb76 commit 6bb9832
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
4 changes: 0 additions & 4 deletions doc/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -869,10 +869,6 @@ MeasurementSupport<a name="measurementsupport"></a>
----------------------------------------------------------------
Measurement support for the map component.

| Property | Type | Description | Default value |
|----------|------|-------------|---------------|
| options | `{`<br />`  geodesic: bool,`<br />`}` | Options | `undefined` |

OverviewMap<a name="overviewmap"></a>
----------------------------------------------------------------
Overview map support for the map component.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qwc2",
"version": "2024.09.30-master",
"version": "2024.10.03-master",
"description": "QGIS Web Client 2 core",
"author": "Sourcepole AG",
"license": "BSD-2-Clause",
Expand Down
7 changes: 0 additions & 7 deletions plugins/map/MeasurementSupport.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,8 @@ class MeasurementSupport extends React.Component {
map: PropTypes.object,
mapCrs: PropTypes.string,
measurement: PropTypes.object,
/** Options */
options: PropTypes.shape({
geodesic: PropTypes.bool
}),
projection: PropTypes.string
};
static defaultOpts = {
geodesic: true
};
constructor(props) {
super(props);
this.pickPositionCallbackTimeout = null;
Expand Down

0 comments on commit 6bb9832

Please sign in to comment.