Skip to content

Commit

Permalink
Fix MapTip minWidth and minHeight props missing in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Dec 12, 2024
1 parent 4b99168 commit 4ba293d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions doc/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,8 @@ The map tip needs to be configured in QGIS Layer Properties → Display.
| Property | Type | Description | Default value |
|----------|------|-------------|---------------|
| layerFeatureCount | `number` | The maximum number of feature maptips to display for a single layer. | `5` |
| maxHeight | `string` | The maximum height of the maptip popop bubble, as a CSS string. | `"15em"` |
| maxWidth | `string` | The maximum height of the maptip popop bubble, as a CSS string. | `"20em"` |
| showFeatureSelection | `bool` | Whether to show the maptip feature selection on the map or not | `true` |

Measure<a name="measure"></a>
Expand Down
4 changes: 2 additions & 2 deletions plugins/MapTip.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ class MapTip extends React.Component {
layers: PropTypes.array,
map: PropTypes.object,
mapTipsEnabled: PropTypes.bool,
/* The maximum height of the maptip popop bubble, as a CSS string. */
/** The maximum height of the maptip popop bubble, as a CSS string. */
maxHeight: PropTypes.string,
/* The maximum height of the maptip popop bubble, as a CSS string. */
/** The maximum height of the maptip popop bubble, as a CSS string. */
maxWidth: PropTypes.string,
mousepos: PropTypes.object,
openExternalUrl: PropTypes.func,
Expand Down

0 comments on commit 4ba293d

Please sign in to comment.