...
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 |
Highlight
Name | Type | Description |
---|---|---|
vector | vector | The styling for polygon and line based entities |
marker | marker | The styling for point based entities |
Vector
Name | Type | Description |
---|---|---|
strokeColor | string | The colour for the outline |
strokeOpacity | float | The opacity for the outline |
strokeWidth | integer | The width of the outline |
fillColor | string | The colour of the fill |
fillOpacity | float | The opacity of the fill |
Marker
Name | Type | Description |
---|---|---|
icon | string | A URL pointing to the icon to use |
width | int | The width of the icon |
height | int | The height of the icon |
offsetx | int | The x offset for the hotspot within the icon |
offsety | int | The y offset for the hotspot within the icon |
Note |
---|
See Client Views Data for other i18n options |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<view id="com.cohga.html.client.map.spatialIdentify"> <entity id="property" maxScale="12000"/> <entity id="road" isDefault="true"/> <entity id="suburb" minScale="25000"/> </view> |
Code Block | ||||
---|---|---|---|---|
| ||||
<view id="com.cohga.html.client.map.spatialIdentify"> <highlight> <marker> <icon>resources/images/markers/w-marker-red.png</icon> <width>24</width> <height>30</height> <offsetx>-8</offsetx> <offsety>-28</offsety> </marker> <vector> <strokeWidth>3</strokeWidth> <strokeColor xsd:type="xsd:string">#d27316</strokeColor> <strokeOpacity>0.75</strokeOpacity> <fillColor>red</fillColor> <fillOpacity>0.25</fillOpacity> </vector> </highlight> </view> |