Instead of the url of the WMS use some proxy script as url for the WMS.
 
layerWMS = new OpenLayers.Layer.WMS("aTitle", "/yourProxyScript?url=" +
wms_onlineresource, ...
 
and in the proxyscript you can request the wms.
 
Arnd
 
  _____  

Von: [email protected]
[mailto:[email protected]] Im Auftrag von Lucas
Heezen - Covadis
Gesendet: Donnerstag, 16. Februar 2012 16:01
An: [email protected]
Betreff: [OpenLayers-Users] Run WMS request also over proxy



 

Hello, 

 

Is it possible to run the WMS request of the OpenLayers.Proxy? Now it goes
directly to the server.

I wan't it to go over the Proxy.

 


Met vriendelijke groet,
Lucas Heezen


Beschrijving: http://www.covadis.nl/emailkop/logo.gif

Covadis b.v. 

t: 026 3616600 


Geograaf 12 

f: 026 3612317 


6921 EW Duiven 

e:  <mailto:[email protected]> [email protected]

 

<<image001.gif>>

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to