# WMSGetFeatureInfo request displayed a custom popup.

The map client configuration

The ViewContext configuration

## Further notes

The WMSGetFeatureInfo control can be used with a custom popup mechanism.

    <popup>
      <ljqpo:DialogPopup>
        <title>My Title</title>
        <size>
          <ol:Size w="500" h="300" />
        </size>
        <position>
          <ol:Pixel x="200" y="300" />
        </position>
      </ljqpo:DialogPopup>
    </popup>

In this example the response from the WMSGetFeature info request is rendered inside a popup using jQuery.

    <lc:WMSGetFeatureInfo>
      <infoFormat>text/html</infoFormat>
      <hover>false</hover>
      <maxFeatures>1</maxFeatures>
      <queryVisible>true</queryVisible>
      <popup>
        <ljqpo:DialogPopup>
          <title>My Title</title>
          <size><ol:Size w="500" h="300"/></size>
          <position><ol:Pixel x="600" y="300"/></position>
        </ljqpo:DialogPopup>
      </popup>
    </lc:WMSGetFeatureInfo>

powered by disy Informationssysteme GmbH