All,For some reason I can't add the Nexrad layer to my map. The layer I am using supports 90013 but still nothing. What can I possibly be doing wrong?http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?%20&service=WMS&request=GetCapabilities&version=1.3.0
<esri:WmsLayer ID="Nexrad" Url="http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?" Version="1.3.0"
Layers="nexrad-n0r-900913-m05m" SkipGetCapabilities="True" Initialized="WmsLayer_Initialized" Visible="True" ProxyUrl="http://localhost:1234/proxy.ashx"/>
private void WmsLayer_Initialized(object sender, EventArgs e)
{
try
{
WmsLayer nexradWmsLayer = null;
nexradWmsLayer = (WmsLayer)Map.Layers["Nexrad"];
// You can control the visibility of which WMS layers are displayed by adding the
// sub-LayerID's to the String Array.
string[] VisibleWmsLayers = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" };
nexradWmsLayer.Layers = VisibleWmsLayers;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
Thanks,Adam