Add an OpenLayers control on a layer that popup when the mouse hovers above a vector feature in the map.
Warning
This widget is deprecated.
Sample configuration
<popup>
<name>WidgetPopUp</name>
<options>
<display><![CDATA['<b>ID</b> : '+e.attributes.parcelid+'<br /><b>Comment :</b> <i>'+e.attributes.comments+'</i>']]></display>
<layer>ResourceParcel_FS</layer>
</options>
</popup>
| display: | Valid javascript that are execute to set the popup html |
|---|
Note
featureserver not send attributes with ‘_’ in ther name use the keyword ‘as’ to rename your attributes in featureserver config file
| layer: | Layer name to do popup on. (see the layername option in the map widget) |
|---|
N/A
featureserver
read