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.WMSGetFeatureInfoThis class represents a compositum of the OpenLayers.Control.WMSGetFeatureInfo class and the OpenLayers.Popup.FramedCloud.
Properties
wmsGetFeatureInfo {<OpenLayers.Control.WMSGetFeatureInfo>} theWMSGetFeatureInfo instance which will been used for requesting
popup {<OpenLayers.Popup>} The popup which will render thereponse
popupType {<String>} The popuptype which will been used torender the response.
autoActive {<Boolean>} If set to true the control will allwaysbe 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 thepopup.
popupMinSizeSee Also: <OpenLayers.Popup.minSize>
popupMaxSizeSee Also: <OpenLayers.Popup.maxSize>
popupAutoSizeSee Also: <OpenLayers.Popup.maxSize>
popupPanMapIfOutOfViewSee Also: <OpenLayers.Popup.panMapIfOutOfView>
popupKeepInMapSee Also: <OpenLayers.Popup.keepInMap>
popupCloseOnMoveSee Also: <OpenLayers.Popup.closeOnMove>
popupOpacitySee Also: <OpenLayers.Popup.opacity>
renderIfNoPopupExistsOnly render if no other popup exists
Functions
Legato.Control.WMSGetFeatureInfo Create a WMSGetFeatureInfo.
drawSee Also: <OpenLayer.Control>
lc:WMSGetFeatureInfo XML based config for aLegato.Control.WMSGetFeatureInfo.
Properties
QName The qualified name for this control.  Needed by XML config toinstantiate it.
hoverSee Also: <OpenLayers.Control.WMSGetFeatureInfo.hover>
maxFeaturesSee Also: <OpenLayers.Control.WMSGetFeatureInfo.maxFeatures>
queryVisibleSee Also: <OpenLayers.Control.WMSGetFeatureInfo.queryVisible>
urlSee Also: <OpenLayers.Control.WMSGetFeatureInfo.url>
infoFormatSee Also: <OpenLayers.Control.WMSGetFeatureInfo.infoFormat>
autoActive If set to true the control will allways be enabledand 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 itselfwhen there is currently no other popup shown.
delay Defines the delay in ms where a GetFeatureInfoRequest ismade.
popupType Defines the popuptype which will been used to renderthe response.
popupBackgroundColor Defines the backgroundColor of the popup.  Notused if popuptype is set to AnchroedBubble, cause you can not set the backgroundColor for this type.
popupMinSizeSee Also: <OpenLayers.Popup.minSize>
popupMaxSizeSee Also: <OpenLayers.Popup.maxSize>
popupAutoSizeSee Also: <OpenLayers.Popup.maxSize>
popupPanMapIfOutOfViewSee Also: <OpenLayers.Popup.panMapIfOutOfView>
popupKeepInMapSee Also: <OpenLayers.Popup.keepInMap>
popupCloseOnMoveSee Also: <OpenLayers.Popup.closeOnMove>
popupOpacitySee Also: <OpenLayers.Popup.opacity>

Properties

wmsGetFeatureInfo {<OpenLayers.Control.WMSGetFeatureInfo>} the

WMSGetFeatureInfo instance which will been used for requesting

popup {<OpenLayers.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

Functions

Legato.Control.WMSGetFeatureInfo Create a WMSGetFeatureInfo.

Parameters

draw

draw : function()

See Also: <OpenLayer.Control>

lc:WMSGetFeatureInfo XML based config for a

Legato.Control.WMSGetFeatureInfo.

See Also:Legato.Control - Legato.Beans.BeanFactory - <QName>

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>
Summary
Properties
QName The qualified name for this control.  Needed by XML config toinstantiate it.
hoverSee Also: <OpenLayers.Control.WMSGetFeatureInfo.hover>
maxFeaturesSee Also: <OpenLayers.Control.WMSGetFeatureInfo.maxFeatures>
queryVisibleSee Also: <OpenLayers.Control.WMSGetFeatureInfo.queryVisible>
urlSee Also: <OpenLayers.Control.WMSGetFeatureInfo.url>
infoFormatSee Also: <OpenLayers.Control.WMSGetFeatureInfo.infoFormat>
autoActive If set to true the control will allways be enabledand 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 itselfwhen there is currently no other popup shown.
delay Defines the delay in ms where a GetFeatureInfoRequest ismade.
popupType Defines the popuptype which will been used to renderthe response.
popupBackgroundColor Defines the backgroundColor of the popup.  Notused if popuptype is set to AnchroedBubble, cause you can not set the backgroundColor for this type.
popupMinSizeSee Also: <OpenLayers.Popup.minSize>
popupMaxSizeSee Also: <OpenLayers.Popup.maxSize>
popupAutoSizeSee Also: <OpenLayers.Popup.maxSize>
popupPanMapIfOutOfViewSee Also: <OpenLayers.Popup.panMapIfOutOfView>
popupKeepInMapSee Also: <OpenLayers.Popup.keepInMap>
popupCloseOnMoveSee Also: <OpenLayers.Popup.closeOnMove>
popupOpacitySee Also: <OpenLayers.Popup.opacity>

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>

draw : function()
See Also: OpenLayer.Control
This class represents a compositum of the OpenLayers.Control.WMSGetFeatureInfo class and the OpenLayers.Popup.FramedCloud.
Abstract base class for all Legato control classes