<?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: Determining if MapService is Tiled or Dynamic in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/determining-if-mapservice-is-tiled-or-dynamic/m-p/711851#M3612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's a good question - and I can't see anything in the API which would allow you to determine that. We are investigating improving the service-level metadata for a future release, so I'll make sure that gets consideration too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's nothing on either the ArcGISTiledMapServiceLayer class or ArcGISDynamicMapServiceLayer - because by the time you've initialized one of those classes you've already made the decision and currently we don't have a service browser API as such.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're working with WebMaps or Portal items there might be something in there that could help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could make the REST call yourself (using the ArcGISWebClient class &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISWebClient_members.html"&gt;http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISWebClient_members.html&lt;/A&gt;&lt;SPAN&gt;). Then to help process the results you could use something like &lt;/SPAN&gt;&lt;A href="http://json2csharp.com/"&gt;http://json2csharp.com/&lt;/A&gt;&lt;SPAN&gt; to generate a class from the JSON response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, you could as the default, always try to create an ArcGISTiledMapServiceLayer instance then fall back to an ArcGISDynamicMapServiceLayer if the InitializationFailed event fires (if will be raised if the service doesn't have a cache).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jul 2013 12:05:27 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2013-07-15T12:05:27Z</dc:date>
    <item>
      <title>Determining if MapService is Tiled or Dynamic</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/determining-if-mapservice-is-tiled-or-dynamic/m-p/711850#M3611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you determine, in Runtime for WPF, if a MapService is a Tiled or Dynamic MapService ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know you can look for the Single Fused Map Cache property on the REST endpoint, but how do I retrieve this property from the object after initialization. I see the msd property on the ArcGISDynamicMapService (MapService.MapServiceInfo) contains this information, but it is hidden.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to load Tiled MapServices with the ArcGISTiledMapService class so i get better performance (i assume that is the case?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 20:35:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/determining-if-mapservice-is-tiled-or-dynamic/m-p/711850#M3611</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2013-07-11T20:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Determining if MapService is Tiled or Dynamic</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/determining-if-mapservice-is-tiled-or-dynamic/m-p/711851#M3612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's a good question - and I can't see anything in the API which would allow you to determine that. We are investigating improving the service-level metadata for a future release, so I'll make sure that gets consideration too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's nothing on either the ArcGISTiledMapServiceLayer class or ArcGISDynamicMapServiceLayer - because by the time you've initialized one of those classes you've already made the decision and currently we don't have a service browser API as such.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're working with WebMaps or Portal items there might be something in there that could help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could make the REST call yourself (using the ArcGISWebClient class &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISWebClient_members.html"&gt;http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html?ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.ArcGISWebClient_members.html&lt;/A&gt;&lt;SPAN&gt;). Then to help process the results you could use something like &lt;/SPAN&gt;&lt;A href="http://json2csharp.com/"&gt;http://json2csharp.com/&lt;/A&gt;&lt;SPAN&gt; to generate a class from the JSON response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, you could as the default, always try to create an ArcGISTiledMapServiceLayer instance then fall back to an ArcGISDynamicMapServiceLayer if the InitializationFailed event fires (if will be raised if the service doesn't have a cache).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 12:05:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/determining-if-mapservice-is-tiled-or-dynamic/m-p/711851#M3612</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-07-15T12:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Determining if MapService is Tiled or Dynamic</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/determining-if-mapservice-is-tiled-or-dynamic/m-p/711852#M3613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Alternatively, you could as the default, always try to create an ArcGISTiledMapServiceLayer instance then fall back to an ArcGISDynamicMapServiceLayer if the InitializationFailed event fires (if will be raised if the service doesn't have a cache).&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your response. I'm doing this right now, but the manual call to the Initialization method take some time and freezes up the UI, so i will probably have to go the JSON route to determine the layer type and then initialize the layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be nice of all the Metadata would be made available. You are populating it anyway.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 11:48:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/determining-if-mapservice-is-tiled-or-dynamic/m-p/711852#M3613</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2013-07-16T11:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Determining if MapService is Tiled or Dynamic</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/determining-if-mapservice-is-tiled-or-dynamic/m-p/711853#M3614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It would be nice if all the Metadata would be made available. You are populating it anyway.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll take that on board - thanks for the feedback.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 12:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/determining-if-mapservice-is-tiled-or-dynamic/m-p/711853#M3614</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2013-07-16T12:04:23Z</dc:date>
    </item>
  </channel>
</rss>

