Viewer with Object Query
![]()
Further notes
For using the Object Info you need the WMSGetFeatureInfo:
<lc:WMSGetFeatureInfo>
<infoFormat>text/html</infoFormat>
<maxFeatures>1</maxFeatures>
<attributes>Layer</attributes>
<aliases>Layer Name</aliases>
<popupTitle>INFO</popupTitle>
<popupAutoSize>true</popupAutoSize>
<popupKeepInMap>false</popupKeepInMap>
<popupType>jQuery</popupType>
<popupMaxSize><ol:Size w="350" h="200"/></popupMaxSize>
<popupMinSize><ol:Size w="350" h="200"/></popupMinSize>
</lc:WMSGetFeatureInfo>
For WMS requests it is necessary to turn on proxy support
<script type="text/javascript">
OpenLayers.ProxyHost = '../../servlet/proxy?url=';
</script>
More Information in FAQ Proxy
![]()
powered by disy Informationssysteme GmbH
