vikrant327

WMS layer

Discussion created by vikrant327 on Jan 22, 2013
Latest reply on Jan 23, 2013 by vikrant327
Is this the write way of loading WMS layer

esri.config.defaults.io.proxyUrl = "../proxy/proxy.ashx";
esri.config.defaults.io.alwaysUseProxy = true;
  
initExtent = new esri.geometry.Extent({"xmin":-35734.220130933,"ymin":4777506.27659575,"xmax":893683.447626841,"ymax":5521771.27659575,"spatialReference":{"wkid":26915}});
        
map = new esri.Map("map", {
          extent: initExtent
});


var wmsLmicAerial = new esri.layers.WMSLayer("http://geoint.lmic.state.mn.us/cgi-bin/wmsll?");
wmsLmicAerial.setVisibleLayers(["fsa2010"]);
wmsLmicAerial.setImageFormat("png");
map.addLayer(wmsLmicAerial);


this code works perfectly in IE and firefox, but it gets stuck in chrome.
Anyone know why?

Outcomes