Skip to main content
deleted 40 characters in body; edited title; deleted 1 character in body; added 4 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

OpenLayers legend graphics not using proxy?

I'mI am using the OpenLayers/geoserverGeoServer stack and my WMS requests are configured to go via a proxy using the following:

OpenLayers.ProxyHost="../gis/geoserver.seam?url=";

So far so good, all future WMS request are now channelled through this proxy script and WMS images are generated/returned as expected.

My problem arises when viewing the legend, the request to get the layer image (WMS request) ignores the OpenLayers proxy definition and tries connecting direct (client browser->geoserver server which is not externally accessible - hence the proxy).

Does anyone have any idea howHow can I force the legend image requests to use the proxy?

Thank you!

OpenLayers legend graphics not using proxy

I'm using the OpenLayers/geoserver stack and my WMS requests are configured to go via a proxy using the following:

OpenLayers.ProxyHost="../gis/geoserver.seam?url=";

So far so good, all future WMS request are now channelled through this proxy script and WMS images are generated/returned as expected.

My problem arises when viewing the legend, the request to get the layer image (WMS request) ignores the OpenLayers proxy definition and tries connecting direct (client browser->geoserver server which is not externally accessible - hence the proxy).

Does anyone have any idea how I force the legend image requests to use the proxy?

Thank you!

OpenLayers legend graphics not using proxy?

I am using the OpenLayers/GeoServer stack and my WMS requests are configured to go via a proxy using the following:

OpenLayers.ProxyHost="../gis/geoserver.seam?url=";

So far so good, all future WMS request are now channelled through this proxy script and WMS images are generated/returned as expected.

My problem arises when viewing the legend, the request to get the layer image (WMS request) ignores the OpenLayers proxy definition and tries connecting direct (client browser->geoserver server which is not externally accessible - hence the proxy).

How can I force the legend image requests to use the proxy?

Source Link
ScottFree
  • 245
  • 1
  • 11

OpenLayers legend graphics not using proxy

I'm using the OpenLayers/geoserver stack and my WMS requests are configured to go via a proxy using the following:

OpenLayers.ProxyHost="../gis/geoserver.seam?url=";

So far so good, all future WMS request are now channelled through this proxy script and WMS images are generated/returned as expected.

My problem arises when viewing the legend, the request to get the layer image (WMS request) ignores the OpenLayers proxy definition and tries connecting direct (client browser->geoserver server which is not externally accessible - hence the proxy).

Does anyone have any idea how I force the legend image requests to use the proxy?

Thank you!