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 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

Boolean0..1falseAs 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
highlighthighlight0..1
Styling to apply to the highlighted entity
entityListWidthInteger0..1220the initial width of the entity list
entityListWidthMinInteger0..1175the minimum width of the entity list
entityListWidthMaxInteger0..1400the maximum width of the entity list
timeoutinteger0..130000number of milliseconds to timeout the request
crsCRS0..1client map crsWhich 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

...

Note

See Client Views Data for other i18n options and Common grid panel configuration options for other grid related options

Example

Code Block
xml
xml
titleDefault with labelled button
linenumberstrue
<item action="com.cohga.html.client.map.spatialIdentify">
        <label>Identify</label>
</item>

...