[OpenLayers-Users] getFeatureInfo request in new window + new map?

Maria Panagou snowdrop at ath.forthnet.gr
Fri Jan 25 13:37:31 EST 2008


Thank you all for your help. It finally works like this:

 var str="[codee1]";

var quakes = new OpenLayers.Layer.WMS( "Óçìáíôéêïß Óåéóìïß", 
                       "http://127.0.0.1/cgi-bin/mapserv.exe?", 
                        {map: '../htdocs/mpanagou/Quakes1local_filter.map', 
                          layers: 'Quakes',id:str,transparent: true},
                          {isBaseLayer:false, singletile:true, reproject:
true});



Hi,

Try mergeNewParams:

aLyr = new OpenLayers.Layer.WMS( "OpenLayers WMS",
        "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
map.addLayer(aLyr);

aLyr.mergeNewParams({ID: yourValue}); 

Mit freundlichen Grüssen

Arnd Wippermann
http://gis.ibbeck.de/ginfo/





-- 
View this message in context: http://www.nabble.com/getFeatureInfo-request-in-new-window-%2B-new-map--tp15009098p15094131.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list