<br><font size=2 face="sans-serif">OpenLayers.Popup.FramedCloud</font>
<br>
<br><font size=2 face="sans-serif">See http://openlayers.org/dev/examples/getfeatureinfo-popup.html<br>
</font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>adityakumar529 <adityakumar529@gmail.com>@lists.osgeo.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : openlayers-users-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">2013-05-02 11:01</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">openlayers-users@lists.osgeo.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">[OpenLayers-Users] Selected attributes
in Pop up</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><tt><font size=2>Dear Users,<br>
   I am trying to display only specific attributes out of total attributes<br>
in my WMS layer.<br>
Following is the code used for that.<br>
<br>
var roadidPicker = new OpenLayers.Control.WMSGetFeatureInfo({<br>
                url:<br>
'http://localhost/ArcGIS/services/Civic_Agency_15_11_11/MapServer/WMSServer',
<br>
                
                 
               
<br>
             <br>
                queryVisible: true,<br>
            });<br>
    roadidPicker.infoFormat = 'application/vnd.ogc.gml';<br>
    roadidPicker.events.register("getfeatureinfo",
this, pickRoadid);<br>
    map.addControl(roadidPicker);<br>
    roadidPicker.activate();<br>
        <br>
        function pickRoadid(event) {<br>
          var val = event.features[0].attributes.Pin_Code;<br>
           alert(val);<br>
            if (event.features &&
event.features.length) {<br>
                var val = event.features[0].attributes.Address;<br>
                alert(val);<br>
            }<br>
<br>
<br>
<br>
On click I get the value in the form of alert.<br>
But I want the same in popup.<br>
Please share if you have any idea related to it.<br>
<br>
<br>
<br>
Aditya Kumar<br>
India Urban Space Foundation<br>
<br>
<br>
<br>
-----<br>
GIS Developer<br>
India Urban Space Foundation<br>
--<br>
View this message in context: http://osgeo-org.1560.x6.nabble.com/Selected-attributes-in-Pop-up-tp5051001.html<br>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
Users@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/openlayers-users<br>
</font></tt>
<br>
<br>
<br>