ArcGIS SDK for WPF and WMS

2941
1
09-28-2012 05:13 AM
Labels (1)
CarlosLima
New Contributor
Hi,

I'm new in GIS projects and i've found this SDK that can be the solution of my problems...
I've to implement an Map based application for WPF with multitouch capacities to interact with the Map.

My question is:
Is that possible with this SDK connect to a WMS server, like GeoServer, and show that layers ?!
If it was possible how I can do this ?

Best regards,
Carlos Lima
0 Kudos
1 Reply
MichaelBranscomb
Esri Frequent Contributor
Hi,

Yes, you can use WMS and WMTS:

WMS:
http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client.Toolkit.DataSou...
      
<esri:Map WrapAround="True" Extent="-15000000,2000000,-7000000,8000000">
            <esri:ArcGISTiledMapServiceLayer 
                Url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" />
            <esri:WmsLayer ID="OtherWMSLayer"                      
                           Url="http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi"                     
                           ProxyUrl="http://serverapps10.esri.com/SilverlightDemos/ProxyPage/proxy.ashx"                     
                           SkipGetCapabilities="False"                     
                           Layers="nexrad-n0r" 
                           Version="1.1.1" 
                           Opacity="0.7" />
        </esri:Map>


WMTS:
http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client.Toolkit.DataSou...

        <esri:Map WrapAround="True" Name="MyMap" Extent="-20037508.343,-8861125.013,20037508.343,8861125.013">
            <esri:WmtsLayer ServiceMode="RESTful" 
                  Url="http://sampleserver6.arcgisonline.com/arcgis/rest/services/WorldTimeZones/MapServer/WMTS" />
        </esri:Map>



Cheers

Mike
0 Kudos