<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I set up ArcGISTiledMapServiceLayer to access a layer on my c: drive? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-i-set-up-arcgistiledmapservicelayer-to/m-p/649267#M16654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, I got it to work with your reply.&amp;nbsp; Dale,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 14:02:07 GMT</pubDate>
    <dc:creator>DaleShearer</dc:creator>
    <dc:date>2014-09-10T14:02:07Z</dc:date>
    <item>
      <title>How do I set up ArcGISTiledMapServiceLayer to access a layer on my c: drive?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-i-set-up-arcgistiledmapservicelayer-to/m-p/649265#M16652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for looking at my question.&amp;nbsp; I am just getting started with ArcGIS Runtime SDK for .NET and I have already built the little sample app - create an offline map.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I am on to my own app, upon startup in the xaml an online map is loaded, that works fine.&amp;nbsp; Now I want to switch between a online map and an offline map, the offline map is on my C: drive.&amp;nbsp; If I set up the xaml to load th emap on the C: drive on startup, that works fine.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my app the online map is the basemap.&amp;nbsp; On my button I can remove the BaseMap with the code:&amp;nbsp; MyMap.Layers.Remove("BaseMap")&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can add the map back in with:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;ArcGISTiledMapServiceLayer &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;ArcGISTiledMapServiceLayer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;ArcGISTiledMapServiceLayer.serviceUri = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://etc./MapServer" rel="nofollow" target="_blank"&gt;http://etc./MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af; font-size: 10pt; font-family: Consolas;"&gt;ArcGISTiledMapServiceLayer.ID = "BaseMap"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;MyMap.Layers.Add(ArcGISTiledMapServiceLayer)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Removing the Basemap and adding it back works fine.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now using a button I want to to do the same with tile package map on my C: drive.&amp;nbsp; The problem is getting the&amp;nbsp; ArcGISTiledMapServiceLayer to recognize the map on the C: drive.&amp;nbsp; C:\Test\Map.tpk.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not a ServiceUri or any other extension type that is available.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&amp;nbsp; Dale,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 14:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-i-set-up-arcgistiledmapservicelayer-to/m-p/649265#M16652</guid>
      <dc:creator>DaleShearer</dc:creator>
      <dc:date>2014-08-13T14:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set up ArcGISTiledMapServiceLayer to access a layer on my c: drive?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-i-set-up-arcgistiledmapservicelayer-to/m-p/649266#M16653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the ArcGISLocalTiledLayer to load local TPKs. ie&lt;/P&gt;&lt;P&gt;var layer = new ArcGISLocalTiledLayer(@"C:\Test\Map.tpk") { ID = "Local BaseMap" };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 17:03:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-i-set-up-arcgistiledmapservicelayer-to/m-p/649266#M16653</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2014-09-03T17:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I set up ArcGISTiledMapServiceLayer to access a layer on my c: drive?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-i-set-up-arcgistiledmapservicelayer-to/m-p/649267#M16654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, I got it to work with your reply.&amp;nbsp; Dale,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 14:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-do-i-set-up-arcgistiledmapservicelayer-to/m-p/649267#M16654</guid>
      <dc:creator>DaleShearer</dc:creator>
      <dc:date>2014-09-10T14:02:07Z</dc:date>
    </item>
  </channel>
</rss>

