[OpenLayers-Users] WMS request with custom header

Bretschneider, Danilo danilo.bretschneider at bezreg-koeln.nrw.de
Tue Jun 30 23:56:49 PDT 2015


Hi,

during my research I've got different answers on how to set a custom header for WMS request. I need a header entry like

headers: {
  "sendBy" : "OpenLayers"
}

The custom header works fine for GetFeatureInfo requests, but not for GetMap requests. It is possible to create custom header for GetMap requests in OL?

Kind regards

Danilo Bretschneider


More information about the Users mailing list