Hello all,

How can the popup show the information if I give the value of ux and uy.
If the function looks like this,

function popup_s(ux,uy)
                                        {                                       
                                        
                                        if (popup != null) {
                                popup.destroy();
                                popup = null;
                                        }                                       
                                                                                
                                                var ux,uy;                      
                
                                                popup = new 
OpenLayers.Popup.FramedCloud("chicken", 
                                                new OpenLayers.LonLat(ux,uy),   
                                        
                                                null,                           
                
                                                event.text, <<----How could it 
be?
                                                null, 
                        true                                    
                                                );
                                        map.addPopup(popup);
                                        map.setCenter(new OpenLayers.LonLat(ux, 
uy), 2);
                                }

Any suggestion? 
Thank you.
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Need-help-with-WMSGetFeatureInfo-tp5300515p5300515.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to