Versions Compared

Key

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

...

com.cohga.html.client.map.spatialIdentify

Sub-tags

Name

type Type

cardinality Cardinality

description 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

Code Block
xml
xml
titleDefault with labelled button
linenumberstrue
<view id='"com.cohga.html.client.map.spatialIdentify">
        <label>Identify</label>
</view>
Code Block
xml
xml
titleChange the default entity
linenumberstrue

<view id="com.cohga.html.client.map.spatialIdentify'" defaultEntity="roads">
        <label>Identify</label>
</view>
Code Block
xml
xml
titleRefine and alter the entities
linenumberstrue

<view id="com.cohga.html.client.map.spatialIdentify">
        <entity id="property" maxScale="12000"/>
        <entity id="road" isDefault="true"/>
        <entity id="suburb" minScale="25000"/>
</view>