Hosted Tiled Service Online
This sample demonstrates adding a tiled map service hosted on ArcGIS Online (http://www.arcgis.com) to a Map. The Map includes an ArcGISTiledMapServiceLayer, and the ArcGISTiledMapServiceLayer.Url is set to the URL of the hosted tiled service. Use ArcGIS Online to discover the URL to reference a hosted tiled service.
Download Sample Application<UserControl x:Class="ArcGISWPFSDK.HostedTiledServiceSimple" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:esri="http://schemas.esri.com/arcgis/client/2009"> <Grid x:Name="LayoutRoot"> <esri:Map x:Name="MyMap" UseAcceleratedDisplay="True" WrapAround="True" > <esri:ArcGISTiledMapServiceLayer Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> <esri:ArcGISTiledMapServiceLayer Url="http://tiles.arcgis.com/tiles/pmcEyn9tLWCoX7Dm/arcgis/rest/services/WorldTimeZones/MapServer" /> </esri:Map> </Grid> </UserControl>
5/16/2014