arcgis - ESRI javascript api 3.18 -
after adding more 5 mapimage in esri map ,zooming in chrome , mozilla takes lots of cpu. in chrome page specially hangs. if zoom level highest page stops working in chrome. in chrome,during image load page becomes unresponsive.
var map = new esri.map('map', { //center: [6.6032, 53.1917], sliderstyle: "large", basemap:'topo', zoom:9, maxzoom:14, force3dtransforms: true, navigationmode: "classic" }); esridbimagelayer= new esri.layers.mapimagelayer({ 'id': 'usgs_basemap_image_overlay' }); esridbimagelayer.setopacity(0.7); map.addlayer(esribasedbimagelayer); //dbimagelist retrieved webservice necessary data. var tempimagelist = dbimagelist; for(var i=0;i<tempimagelist.length;i++){ esridbimagelayer.addimage(tempimagelist[i]); }
i figured solution. not issue arcgis-api because of browser. seems google chrome cannot handle large resolution png images files properly. if there more 10 png files more 3k resolution not browser hangs takes 30%+ cpu usuage. better load vector files if possible multiple files. had 25 + files. hope can helpful facing same problem.
Comments
Post a Comment