Map tips provide the user with the ability to quickly retrieve information about entities underneath the mouse cursor.
...
Name | Type | Required | Description |
---|---|---|---|
minScale | number | no | The minimum scale below which no map tips will be shown to the user. |
maxScale | number | no | The maximum scale above which no map tips will be shown to the user. |
radius | number | no | The radius, in map units, of the area to be searched, centred on the mouse location. |
isDefault | boolean | no | Should be set to 'true' in the tip that should be enabled by default. |
data | Data | yes, if datadefinition is not set | The id of a Data configuration that provides the data for this particular tip. |
datadefinition | Data Definition | yes, if data is not set | The id of a Data Definition configuration that provides the data for this particular tip. |
entity | Entity | yes, if datadefinition is set | The id of the Entity that the Data Definition should generate the data for. |
label | string | yes, if no, if | The label to display as this tip in the menu. Will override the label provided by the Data if data is specified rather than datadefinition . |
autoSize | boolean | no | Indicating if the popup window should try and adjust its size |
minSize | size | no | The minimum width and height in pixels that the popup window should use when auto-sizing. |
maxSize | size | no | The maximum width and height in pixels that the popup window should use when auto-sizing. |
size | size | no | The default width and height in pixels that the popup windows should use |
selectedOnly | boolean | no | Restrict the map tip to the selected features only. |
visibleOnly | boolean | no | Restrict the map tip to display only if the associated layer is turned on in the ToC. |
group | string | no | A map tip with a group set will be placed under a sub-menu where the text of the sub-menu item will be taken from the group value, if a group isn't specified then the map tip will appear directly in the menu. Only available since 2.5.26 |
template | string | no | Used to apply HTML formatting to the tip for display in the popup. |
size
Name | Type | Required | Description |
---|---|---|---|
width | number | yes | The width of the "size", in pixels |
height | number | yes | The height of the "size' in pixels |
...