<?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 know programmatically if to use a dynamic or tiled map service? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370239#M34340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Like Oren suggested, if you are loading from a configuration of some sort, can't you specify it there?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I can, but I thought that if I could ask the service or the service directory in ArcGIS, that would take some load of the person setting up the configuration. So, this is my fallback if I cannot sort this out programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;If not that way, look at the info of the map service using esri/request&lt;BR /&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer?f=pjson"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer?f=pjson&lt;/A&gt;&lt;BR /&gt;Check if singleFusedMapCache is true or if it has a tileInfo property.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's the approach I would like to use. I compared the json output of a map service with tiles and one without it and the difference I could see was the tileInfo property. The singleFusedMapCache property was false in both the services I checked so that does not seems to be reliable. I will try to look at the tileInfo property then, although I would have wanted some property saying in a more explicit way if it is a tiled or dynamic map service. But, I am new to all this GIS stuff so maybe it is perfectly logical to look at the tileInfo property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, would the map application work if I created the wrong JavaScript object to consume a dynamic and tiled map service? Would one of those classes handle the other case in a good way, without drawbacks? If so, then I could always use that class for services with MapServer in the URL. Just a crazy idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for both of your quick replies!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Mathias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Jun 2013 14:10:03 GMT</pubDate>
    <dc:creator>MathiasDahl</dc:creator>
    <dc:date>2013-06-15T14:10:03Z</dc:date>
    <item>
      <title>How do I know programmatically if to use a dynamic or tiled map service?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370236#M34337</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;We are building a quite special integration with ArcGIS where we want&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the services and their layers to be chosen according to a certain&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;configuration each time the map application is loaded. So in one&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;situation the map will show layer X, Y and Z from service A and B and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in another situation we will show other layers from other&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;services. The code has to be dynamic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is now, given a certain map service, how can I know if I&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;should create a dynamic map service layer or a tiled map service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer? Since my web page, the actual map application, will get the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;list of layers/services sent to it I would like to programatically ask&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the service or the ArcGis Server directory what type it is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From what I can gather there is no easy way to distinguish between a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tiled map service and a dynamic one. A feature service will be&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;published under a URL with "FeatureServer" in the path, but for the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map services it will always be "MapServer".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on how to do this? If it cannot be done, the administrator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;who defined has to specify the type of a service in the basic data we&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are building for this, but I would like to avoid that if possible to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;not put that burden on the admin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Mathias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2013 08:06:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370236#M34337</guid>
      <dc:creator>MathiasDahl</dc:creator>
      <dc:date>2013-06-15T08:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know programmatically if to use a dynamic or tiled map service?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370237#M34338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My suggestion is to you: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Write in the parameter file for each layer the url and the type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. In code, analyze the line add it to map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm adding tiled layer as dynamic in rare cases (but existed).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oren&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2013 12:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370237#M34338</guid>
      <dc:creator>OrenGal</dc:creator>
      <dc:date>2013-06-15T12:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know programmatically if to use a dynamic or tiled map service?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370238#M34339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Like Oren suggested, if you are loading from a configuration of some sort, can't you specify it there?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a sample showing how to load from a json config&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/odoe/agsnode-dev/blob/master/config.json"&gt;https://github.com/odoe/agsnode-dev/blob/master/config.json&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If not that way, look at the info of the map service using esri/request&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer?f=pjson"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer?f=pjson&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Check if singleFusedMapCache is true or if it has a tileInfo property.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2013 13:40:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370238#M34339</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2013-06-15T13:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know programmatically if to use a dynamic or tiled map service?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370239#M34340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Like Oren suggested, if you are loading from a configuration of some sort, can't you specify it there?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I can, but I thought that if I could ask the service or the service directory in ArcGIS, that would take some load of the person setting up the configuration. So, this is my fallback if I cannot sort this out programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;If not that way, look at the info of the map service using esri/request&lt;BR /&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer?f=pjson"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer?f=pjson&lt;/A&gt;&lt;BR /&gt;Check if singleFusedMapCache is true or if it has a tileInfo property.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's the approach I would like to use. I compared the json output of a map service with tiles and one without it and the difference I could see was the tileInfo property. The singleFusedMapCache property was false in both the services I checked so that does not seems to be reliable. I will try to look at the tileInfo property then, although I would have wanted some property saying in a more explicit way if it is a tiled or dynamic map service. But, I am new to all this GIS stuff so maybe it is perfectly logical to look at the tileInfo property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, would the map application work if I created the wrong JavaScript object to consume a dynamic and tiled map service? Would one of those classes handle the other case in a good way, without drawbacks? If so, then I could always use that class for services with MapServer in the URL. Just a crazy idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for both of your quick replies!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Mathias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2013 14:10:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370239#M34340</guid>
      <dc:creator>MathiasDahl</dc:creator>
      <dc:date>2013-06-15T14:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know programmatically if to use a dynamic or tiled map service?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370240#M34341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I forgot that although they are tiled does not mean it's a fused cache so you can still disabled layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can't test at moment, but I seem to remember serving tiled data as dynamic provided a grainy looking map and serving dynamic as tiled loaded the data in weird tiles that didn't line up correctly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Jun 2013 18:05:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370240#M34341</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2013-06-15T18:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know programmatically if to use a dynamic or tiled map service?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370241#M34342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I forgot that although they are tiled does not mean it's a fused cache so you can still disabled layers.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's almost Greek to me but okay.. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Can't test at moment, but I seem to remember serving tiled data as dynamic provided a grainy looking map and serving dynamic as tiled loaded the data in weird tiles that didn't line up correctly.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay. Actually I should just test myself and see what happens &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jun 2013 07:00:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370241#M34342</guid>
      <dc:creator>MathiasDahl</dc:creator>
      <dc:date>2013-06-16T07:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know programmatically if to use a dynamic or tiled map service?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370242#M34343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This project might be helpful to what you are trying to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/WSDOT-GIS/LayerFactory"&gt;https://github.com/WSDOT-GIS/LayerFactory&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 16:24:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370242#M34343</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2013-06-17T16:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know programmatically if to use a dynamic or tiled map service?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370243#M34344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This project might be helpful to what you are trying to do.&lt;BR /&gt;&lt;A href="https://github.com/WSDOT-GIS/LayerFactory" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/WSDOT-GIS/LayerFactory&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I looked at the layer factory there and it seems to look at the singleFusedMapCache to determine if it is a dynamic or tiled map service:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (response.singleFusedMapCache) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create a tile map service layer.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; require(["esri/layers/agstiled"], function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var layer;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer = new esri.layers.ArcGISTiledMapServiceLayer(url, layerOptions);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self._triggerLayerCreate(layer);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Mathias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:09:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370243#M34344</guid>
      <dc:creator>MathiasDahl</dc:creator>
      <dc:date>2021-12-11T17:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I know programmatically if to use a dynamic or tiled map service?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370244#M34345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;I looked at the layer factory there and it seems to look at the singleFusedMapCache to determine if it is a dynamic or tiled map service:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (response.singleFusedMapCache) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Create a tile map service layer.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; require(["esri/layers/agstiled"], function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var layer;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer = new esri.layers.ArcGISTiledMapServiceLayer(url, layerOptions);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self._triggerLayerCreate(layer);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;/Mathias&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked the open maps available here at ArcGIS Online (&lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services&lt;/A&gt;&lt;SPAN&gt;) and it seems that every map service of type MapServer that has tile information also has the singleFusedMapCache property set to true. So it seems I can trust that after all. From my earlier investigations I think I found one case where this property was false and that there were tile information as well, but I cannot find that now so probably I was mistaken.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-know-programmatically-if-to-use-a-dynamic/m-p/370244#M34345</guid>
      <dc:creator>MathiasDahl</dc:creator>
      <dc:date>2021-12-11T17:09:50Z</dc:date>
    </item>
  </channel>
</rss>

