if(!dojo.isIE && a.imageData && a.imageData.length > 0) { b = "data:image/png;base64," + a.imageData }else { if(b.indexOf("http") !== 0) { b = "https://www.website.com/gis/proxy/proxy.ashx?" + this.service.url + "/" + this.layer.id + "/images/" + b } }
Legend.xs.js (unminified) ~line 412 OLD //if((_43.url && _43.url.indexOf("http://") > -1) || (_43.imageData && _43.imageData.length > 0)) { NEW if((_43.url && _43.url.indexOf("http://") > -1) || (_43.url && _43.url.indexOf("https://") > -1) || (_43.imageData && _43.imageData.length > 0)) { ~line 456, this probably should be handled differently since if if http:// wasn't present /image/ was appended. OLD //if( (_44.url.indexOf("http://") == -1)) { NEW if( (_44.url.indexOf("http://") == -1) && _44.url.indexOf("https://") == -1) {
Patrick,Thanks for reporting this issue. We are working to fix this for the next release of the ArcGIS API for JavaScript.
function onZoomEnd() { if (navigator.appName == 'Microsoft Internet Explorer') { timer = setTimeout(function () { var imgs = dojo.query('.esriLegendLayer > tbody > tr > td > img'); for(var i=0; i<imgs.length; i++){ imgs.src = "yourproxy" + imgs.src; } }, 100); } }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.