Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Boolean0..1falseAs of 2.5.23 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
highlighthighlight0..1 Styling to apply to the highlighted entity

...

Code Block
languagexml
titleChanging the map action
linenumberstrue
<item action="com.cohga.html.client.map.spatialIdentify">
        <mapAction>DragRectangle</mapAction>
</item>

As of 2.5.23 22 you can let the toc drive the layers that will be interrogated when using the spatial identify tool.

...