#461: element vars of         featureInfoTunnel doesn' take an effect...
----------------------------+-----------------------------------------------
 Reporter:  marc            |       Owner:  dev        
     Type:  defect          |      Status:  new        
 Priority:  minor           |   Milestone:  2.6 release
Component:  user interface  |     Version:  2.6 rc1    
 Keywords:                  |  
----------------------------+-----------------------------------------------
 ...if you chosse the new popup replacement.
 There are currently 3 element vars defined at this module.
 (featureInfoLayerPopup)
 (featureInfoPopupHeight)
 (featureInfoPopupWidth)
 but they take no effect because they are hard wired in map.js.

 Here's the code from line
 {{{
                                                                 try{
 var p = new mb_popup({
 title:"Feature Info",
 url:path + "?url=" + escape(currentRequest)+"&"+mb_nr,
 width:600,
 height:500,
 top:200,
 left:600
 });
 p.show();
                                                                 }catch(e){
 window.open(path + "?url=" + escape(currentRequest)+"&"+mb_nr, "" ,
 "width=300,height=400,scrollbars=yes,resizable=yes");
                                                                 }
                                                         }
                                                         else{
                                                                 var e =
 new Mb_exception("No featureInfo results.");
                                                         }
                                                 });
                                         }());
                                         cnt_fi++;
                                 }
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/461>
Mapbender <http://www.mapbender.org/>
Mapbender
_______________________________________________
Mapbender_dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapbender_dev

Reply via email to