Hi,
check out OpenLayers.Util.onImageLoadError
Best regards,
Bart
> Hi,
>
> I use GeoServer as WMS service provider. Does exist the possibility to add
> a
> listener to the OpenLayers.Layer.WMS
> object in order to catch the 'onerror' event ? I noticed that the
> 'onerror'
> event is not present
Hi,
I use GeoServer as WMS service provider. Does exist the possibility to add a
listener to the OpenLayers.Layer.WMS
object in order to catch the 'onerror' event ? I noticed that the 'onerror'
event is not present in the OpenLayers.Map.
Best regards,
Tobia Di Pisa
2009/10/15
> Hi,
>
> I don
Hi,
I don't think you can currently. You can use onerror of the img, but it
won't give you the contents.
A way would be loading the images through AJAX, which has disadvantages as
well (same origin policy and needs changes to OpenLayers).
Maybe the new WMS POST layer has a facility for this, but
Hi all,
I have to effect the WMS requests specifying as parameter ' exceptions:
"application/vnd.ogc.se_xml" ' insteed ' exceptions:
"application/vnd.ogc.se_inimage" '.
How can I catch the server response in the case that the exception is
verified?
Regards,
Tobia Di Pisa
_