[OpenLayers-Users] Re: getfeatureinfo mapserver show only the atribut name

boho fnaci4775 at gmail.com
Mon Aug 22 13:54:59 EDT 2011


i've try 
info = new OpenLayers.Control.WMSGetFeatureInfo({
        url:
'http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/cobaLabel/batasKab.map',
        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
                        ));
                }
        }
}); 
but it's still show the atribut name...
this is so frustated....

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/getfeatureinfo-mapserver-show-only-the-atribut-name-tp6712417p6712567.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list