WMSLayers.xaml
上传用户:huazai0421
上传日期:2008-05-30
资源大小:405k
文件大小:2k
源码类别:

SilverLight

开发平台:

C#

  1. <esri:Map x:Name="mapView">
  2.     <esri:Map.Layers>
  3.         <esriWMS:WMSMapServiceLayer ID="OtherWMSLayer" 
  4.                      Url="http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi"
  5.                      ProxyUrl="~/ProxyHandler.ashx"
  6.                      SkipGetCapabilities="False"
  7.                      Layers="nexrad-n0r" Version="1.1.1" Opacity="0.7" />
  8.         
  9.         <!-- Some other WMS samples -->
  10.         <!--<esriWMS:WMSMapServiceLayer ID="AGSWMSLayer" 
  11.                      Url="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer"          
  12.                      SkipGetCapabilities="True"
  13.                      Layers="2" Version="1.3" Opacity="0.7"/>-->
  14.         <!--<esriWMS:WMSMapServiceLayer ID="AGSWMSLayer" 
  15.                      Url="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer"         
  16.                      Layers="0,2" Opacity="0.7" />-->
  17.         <!--<esriWMS:WMSMapServiceLayer ID="OtherWMSLayer" 
  18.                      Url="http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi"
  19.                      SkipGetCapabilities="True"
  20.                      Layers="nexrad-n0r" Version="1.1.1" Opacity="0.5" />-->
  21.         <!--<esriWMS:WMSMapServiceLayer ID="OtherWMSLayer" 
  22.                      Url="http://viz.globe.gov/viz-bin/wmt.cgi"
  23.                      ProxyUrl="~/ProxyHandler.ashx"
  24.                      SkipGetCapabilities="False"
  25.                      Layers="STATE,NATIONAL" Opacity="0.5" />-->
  26.         <!--Only shows up within extent of United States-->
  27.         <!--<esriWMS:WMSMapServiceLayer ID="OtherWMSLayer" 
  28.                      Url="http://terraservice.net/ogcmap.ashx"
  29.                      ProxyUrl="~/ProxyHandler.ashx"
  30.                      SkipGetCapabilities="True"
  31.                      Version="1.1.1"
  32.                      Layers="DRG" Visible="False" />-->
  33.     </esri:Map.Layers>
  34. </esri:Map>