...
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 select by default |
entity | entity | 0..n |
| Optional list of entities to refine/sort the entity list |
useVisibleEntities | Boolean | 0..1 | false | As of 2.5.23 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 |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<item action="com.cohga.html.client.map.spatialIdentify">
<mapAction>DragRectangle</mapAction>
</item> |
As of 2.5.23 you can let the toc drive the layers that will be interrogated when using the spatial identify tool.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<item action="com.cohga.html.client.map.spatialIdentify">
<useVisibleEntities>true</useVisibleEntities>
</item> |