[OpenLayers-Users] Need help with WMSGetFeatureInfo

Sarah Schuessler sarah_flip at yahoo.de
Fri Jul 16 03:34:59 EDT 2010


Hi,

did you see this (you can even look at examples pages of OL):
var infoControls =     
            new OpenLayers.Control.WMSGetFeatureInfo({ 
            url: 'http://xxxxx:8080/geoserver/wms?',
            title: 'Identify features',
            infoFormat: 'text/plain',
            queryVisible: true,
            eventListeners: {
            getfeatureinfo: function (event){ 
                        map.addPopup(new OpenLayers.Popup.FramedCloud(
                            "chicken",
                            map.getLonLatFromPixel(event.xy), 
                            null,
                            null,
                            event.text,
                            null,
                            true)); 
                    }
            }    
        });


HTH
best regards
Sarah


________________________________



Hi Sarah,

Sorry for the question is not clear. I want to do a
wmsgetfeatureinforequest.
Do you have any suggestion?


Thank you



-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Need-help-with-WMSGetFeatureInfo-tp5300515p5300775.html

Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100716/705dd8a3/attachment.html


More information about the Users mailing list