...
Name | Type | Cardinality | Default | Description |
---|---|---|---|---|
label | String | 0..1 | Label to display in button, default 'Spatial Identify' | |
defaultEntity | String | 0..1 | The id of the entity to be displayed the first time the tool is used. This is more of a suggestion, if there are no entities of that type where the user clicks then a different entity will be the one displayed on first use. | |
entity | entity | 0..n | Optional list of entities to refine/sort the entity list | |
useVisibleEntities | Boolean | 0..1 | false | As of 2.5.22 rather than specify the entities that are to be used, the tool can look up the visible entities configured in the toc. You must add the entity attribute to each layer in the toc for this function to work. |
windowTitle | String | 0..1 | "Spatial Identify" | The title of the popup window |
windowWidth | Integer | 0..1 | 800 | The width of the popup window |
windowHeight | Integer | 0..1 | 500 | The height of the popup window |
highlight | highlight | 0..1 | Styling to apply to the highlighted entity | |
entityListWidth | Integer | 0..1 | 220 | the initial width of the entity list |
entityListWidthMin | Integer | 0..1 | 175 | the minimum width of the entity list |
entityListWidthMax | Integer | 0..1 | 400 | the maximum width of the entity list |
timeout | integer | 0..1 | 30000 | number of milliseconds to timeout the request |
crs | CRS | 0..1 | client map crs | Which coordinate reference system to use to perform the calculations |
Entity
Name | Type | Required | Description |
---|---|---|---|
id | string | yes | The unique entity id for this entity |
minScale | number | no | Min zoom scale for this entity to be reported for |
maxScale | number | no | Max zoom scale for this entity to be reported for |
isDefault | boolean | no | Set this entity as the default |
...