Hello all, when adding a KML layer in OpenLayers, is there a way to alert the user if the KML contains a network link to a KMZ, rather than just failing silently and not letting the user an error has occured? I tried:<br><br>
var kmlLayer = new OpenLayers.Layer.Vector('KML',{...});<br>try {<br>    map.addLayer(kmlLayer);<br>} catch(e) {<br>    alert('An error occured');<br>}<br clear="all"><br>But, it seems the error is thrown when the proxy throws an exception and returns a 500 error: OpenLayers.debug.js (line 45218). The proxy throws an error because of the encoding in the binary file.<br>
-- <br><div style="text-align:left"><b>HYX</b> </div><div style="text-align:left"><a href="http://hyx-music.com" target="_blank">http://hyx-music.com</a></div>