# Legato.Control.WMSGetFeatureInfo

This class represents a compositum of the OpenLayers.Control.WMSGetFeatureInfo class and the OpenLayers.Popup.FramedCloud. If the GetFeatureInfo reuest is made the response will been rendered as a popup.

Inherits from: | Legato.Control

Summary

Legato.Control.WMSGetFeatureInfo | This class represents a compositum of the OpenLayers.Control.WMSGetFeatureInfo class and the OpenLayers.Popup.FramedCloud.
Properties |
wmsGetFeatureInfo {<OpenLayers.Control.WMSGetFeatureInfo>} the | WMSGetFeatureInfo instance which will been used for requesting
wmsGetFeatureInfoGml {<OpenLayers.Control.WMSGetFeatureInfo>} the | WMSGetFeatureInfo instance which will been used for requesting using the GML Info Format
popup {<OpenLayers.Popup>} The popup which will render the | reponse
popup {<Legato.Popup>} The popup which will render the | reponse
popupType {<String>} The popuptype which will been used to | render the response.
autoActive {<Boolean>} If set to true the control will allways | be enabled and active, meaning that if the user hovers over the map the control will always perform a WMSGetFeatureInfo request.
popupBackgroundColor {<String>} Defines the backgroundColor of the | popup.
popupMinSize | See Also: <OpenLayers.Popup.minSize>
popupMaxSize | See Also: <OpenLayers.Popup.maxSize>
popupAutoSize | See Also: <OpenLayers.Popup.maxSize>
popupPanMapIfOutOfView | See Also: <OpenLayers.Popup.panMapIfOutOfView>
popupKeepInMap | See Also: <OpenLayers.Popup.keepInMap>
popupCloseOnMove | See Also: <OpenLayers.Popup.closeOnMove>
popupOpacity | See Also: <OpenLayers.Popup.opacity>
renderIfNoPopupExists | Only render if no other popup exists
filter | A predicate definition which is used to filter the layers for the WMSGetFeatureInfoRequest
highlightGeometry | If true the geometry will be hightlightes using GML and SVG, false otherwise.
Functions |
Legato.Control.WMSGetFeatureInfo Create a WMSGetFeatureInfo. |
Configurable Components |
lc:WMSGetFeatureInfo XML based config for a <Legato.Control.WMSGetFeatureInfo>. |
Properties |
QName The qualified name for this control. Needed by XML config to | instantiate it.
hover | See Also: <OpenLayers.Control.WMSGetFeatureInfo.hover>
maxFeatures | See Also: <OpenLayers.Control.WMSGetFeatureInfo.maxFeatures>
queryVisible | See Also: <OpenLayers.Control.WMSGetFeatureInfo.queryVisible>
url | See Also: <OpenLayers.Control.WMSGetFeatureInfo.url>
infoFormat | See Also: <OpenLayers.Control.WMSGetFeatureInfo.infoFormat>
autoActive If set to true the control will allways be enabled | and active, meaning that if the user hovers over the map the control will always perform a WMSGetFeatureInfo request.
renderIfNoPopupExists If set to true the control will just render itself | when there is currently no other popup shown.
delay Defines the delay in ms where a GetFeatureInfoRequest is | made.
popupType Defines the popuptype which will been used to render | the response.
popupBackgroundColor Defines the backgroundColor of the popup. Not | used if popuptype is set to AnchroedBubble, cause you can not set the backgroundColor for this type.
popupMinSize | See Also: <OpenLayers.Popup.minSize>
popupMaxSize | See Also: <OpenLayers.Popup.maxSize>
popupAutoSize | See Also: <OpenLayers.Popup.maxSize>
popupPanMapIfOutOfView | See Also: <OpenLayers.Popup.panMapIfOutOfView>
popupKeepInMap | See Also: <OpenLayers.Popup.keepInMap>
popupCloseOnMove | See Also: <OpenLayers.Popup.closeOnMove>
popupOpacity | See Also: <OpenLayers.Popup.opacity>
highlightGeometry | If true the geometry will be highlights using GML and SVG, false otherwise.

### Properties

### wmsGetFeatureInfo {<OpenLayers.Control.WMSGetFeatureInfo>} the

WMSGetFeatureInfo instance which will been used for requesting

### wmsGetFeatureInfoGml {<OpenLayers.Control.WMSGetFeatureInfo>} the

WMSGetFeatureInfo instance which will been used for requesting using the GML Info Format

### popup {<OpenLayers.Popup>} The popup which will render the

reponse

### popup {<Legato.Popup>} The popup which will render the

reponse

### popupType {<String>} The popuptype which will been used to

render the response. Possible values are Anchored, AnchroedBubble and FramedCloud

### autoActive {<Boolean>} If set to true the control will allways

be enabled and active, meaning that if the user hovers over the map the control will always perform a WMSGetFeatureInfo request.

### popupBackgroundColor {<String>} Defines the backgroundColor of the

popup. Not used if popuptype is set to AnchroedBubble, cause you can not set the backgroundColor for this type.

### popupMinSize

See Also: <OpenLayers.Popup.minSize>

### popupMaxSize

See Also: <OpenLayers.Popup.maxSize>

### popupAutoSize

See Also: <OpenLayers.Popup.maxSize>

### popupPanMapIfOutOfView

See Also: <OpenLayers.Popup.panMapIfOutOfView>

### popupKeepInMap

See Also: <OpenLayers.Popup.keepInMap>

### popupCloseOnMove

See Also: <OpenLayers.Popup.closeOnMove>

### popupOpacity

See Also: <OpenLayers.Popup.opacity>

### renderIfNoPopupExists

Only render if no other popup exists

### filter

A predicate definition which is used to filter the layers for the WMSGetFeatureInfoRequest

See also: <Legato.Predicate>

### highlightGeometry

If true the geometry will be hightlightes using GML and SVG, false otherwise.

### Functions

### Legato.Control.WMSGetFeatureInfo Create a WMSGetFeatureInfo.

#### Parameters

### Configurable Components

### lc:WMSGetFeatureInfo XML based config for a <Legato.Control.WMSGetFeatureInfo>.

#### A valid config example for a WMSGetFeatureInfo would be

>     <lc:WMSGetFeatureInfo>
>       <infoFormat>text/xml</infoFormat>
>       <hover>true</hover>
>       <maxFeatures>1</maxFeatures>
>       <queryVisible>true</queryVisible>
>       <handlerOptions>
>       <hover>
>        <delay>200</delay>
>      </hover>
>      </handlerOptions>
>     </lc:WMSGetFeatureInfo>

#### See Also

- lc namespace

### Properties

### QName The qualified name for this control. Needed by XML config to

instantiate it.

### hover

See Also: <OpenLayers.Control.WMSGetFeatureInfo.hover>

### maxFeatures

See Also: <OpenLayers.Control.WMSGetFeatureInfo.maxFeatures>

### queryVisible

See Also: <OpenLayers.Control.WMSGetFeatureInfo.queryVisible>

### url

See Also: <OpenLayers.Control.WMSGetFeatureInfo.url>

### infoFormat

See Also: <OpenLayers.Control.WMSGetFeatureInfo.infoFormat>

### autoActive If set to true the control will allways be enabled

and active, meaning that if the user hovers over the map the control will always perform a WMSGetFeatureInfo request.

### renderIfNoPopupExists If set to true the control will just render itself

when there is currently no other popup shown.

### delay Defines the delay in ms where a GetFeatureInfoRequest is

made. Default is 500 ms.

### popupType Defines the popuptype which will been used to render

the response. Possible values are Anchored, AnchroedBubble and FramedCloud

### popupBackgroundColor Defines the backgroundColor of the popup. Not

used if popuptype is set to AnchroedBubble, cause you can not set the backgroundColor for this type.

### popupMinSize

See Also: <OpenLayers.Popup.minSize>

### popupMaxSize

See Also: <OpenLayers.Popup.maxSize>

### popupAutoSize

See Also: <OpenLayers.Popup.maxSize>

### popupPanMapIfOutOfView

See Also: <OpenLayers.Popup.panMapIfOutOfView>

### popupKeepInMap

See Also: <OpenLayers.Popup.keepInMap>

### popupCloseOnMove

See Also: <OpenLayers.Popup.closeOnMove>

### popupOpacity

See Also: <OpenLayers.Popup.opacity>

### highlightGeometry

If true the geometry will be highlights using GML and SVG, false otherwise.

Abstract base class for all Legato control classes
Namespace for Legato controls.