Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Provides a means of displaying attribute information relating to all of the entities that a user selects when clicking on the map.

Compared to the standard Identify action the Spatial Identify doesn't use the active entity as the source for the entities to display information about, but instead searches through every entity to find any that intersect the shape drawn by the user. Which means of course that it can take longer to display its information than the regular Identify action.

The Spatial Identify action always displays its information in a popup window.

ID

com.cohga.html.client.map.spatialIdentify

Sub-tags

Name

Type

Cardinality

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

Entity

Name

Type

Description

id

string

The unique entity id for this entity

minScale

number

Min zoom scale for this entity to be reported for

maxScale

number

Max zoom scale for this entity to be reported for

isDefault

boolean

So this entity as the default

Example

Default with labelled button
<view id="com.cohga.html.client.map.spatialIdentify">
        <label>Identify</label>
</view>
Change the default entity
<view id="com.cohga.html.client.map.spatialIdentify" defaultEntity="roads">
        <label>Identify</label>
</view>
Refine and alter the entities
<view id="com.cohga.html.client.map.spatialIdentify">
        <entity id="property" maxScale="12000"/>
        <entity id="road" isDefault="true"/>
        <entity id="suburb" minScale="25000"/>
</view>
  • No labels