[OpenLayers-Users] Content HTML for Cloud popup.

Aditya Kumar paglacontact at yahoo.com
Wed Feb 20 22:07:08 PST 2013


Dear Users,
    I have used the wmsgetfeatureinfo 
var info = new OpenLayers.Control.WMSGetFeatureInfo({
            url: 'http://localhost:8080/geoserver/lakes/wms', 
            title: 'Identify features by clicking',
            queryVisible: true,
            eventListeners: {
                getfeatureinfo: function(event) {
			popupClear();
                    map.addPopup(new OpenLayers.Popup.FramedCloud(
                        "chicken", 
                        map.getLonLatFromPixel(event.xy),
                        null,
                        event.text,
                        null,
                        true
                    ));
					
                }
				
            }
        });
        
		 map.addControl(info);
        info.activate();

In my layer there are many field, but i want to have a specific attributes
instead of showing all the attributes.
Can anyone help me for ContentHTML configuration in the code I had just put
above.


Aditya kumar
India Urban Space Foundation



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Content-HTML-for-Cloud-popup-tp5035699.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list