[OpenLayers-Users] Chicken in AddPopup

Smaran Harihar smaran.harihar at gmail.com
Fri Jun 1 12:49:39 PDT 2012


Hi,

I am using this code from the OpenLayers Examples code and I was bit
confused about what exactly does "*chicken"* mean here?

info = new OpenLayers.Control.WMSGetFeatureInfo({

            url: 'http://localhost:8080/geoserver/iPlant/wms',

            title: 'Identify features by clicking',

            queryVisible: true,

            eventListeners: {

                getfeatureinfo: function(event) {

                    map.addPopup(new OpenLayers.Popup.FramedCloud(

                        "*chicken*",

                        map.getLonLatFromPixel(event.xy),

                        null,

                        event.text,

                        null,

                        true

                    ));

                }

            }

        });

        map.addControl(info);

        info.activate();


-- 
Thanks & Regards
Smaran Harihar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120601/b2543692/attachment-0001.html>


More information about the Users mailing list