<?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: BasemapGallery with ArcGISTiledMapServiceLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemapgallery-with-arcgistiledmapservicelayer/m-p/554797#M51735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; As I mentioned &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fmydomain.com%2Farcgis%2Frest%2Fservices%2FBaseMaps%2FService1%2FImageServer" rel="nofollow" target="_blank"&gt;http://mydomain.com/arcgis/rest/services/BaseMaps/Service1/ImageServer&lt;/A&gt;&lt;SPAN&gt; is not an standard url for a ArcGISTiledMapServiceLayer. When using a ArcGISTiledMapServiceLayer the url should be to a MapServer url and not a ImageServer. Using an ImageServer url does work as you know but is not what ArcGISTiledMapServiceLayer is designed for. The BasemapLayer is going to make it own decisions on what the proper request string is based on the service type and because you are feeding it a ImageServer url it will request the data like you posted above:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;arcgis/rest/services/BaseMaps/Service1/ImageServer/exportImage?f=image&amp;amp;bbox=&lt;SPAN class="number"&gt;633067.2678012023%2C4555010.&lt;SPAN class="number"&gt;16002032&lt;/SPAN&gt;%2C661430.&lt;SPAN class="number"&gt;6578613158&lt;/SPAN&gt;%2C4569860.&lt;SPAN class="number"&gt;72305478&lt;/SPAN&gt;&amp;amp;imageSR=&lt;SPAN class="number"&gt;32633&lt;/SPAN&gt;&amp;amp;bboxSR=&lt;SPAN class="number"&gt;32633&lt;/SPAN&gt;&amp;amp;size=&lt;SPAN class="number"&gt;1675&lt;/SPAN&gt;%2C877&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class="number"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2016 14:44:56 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-02-17T14:44:56Z</dc:date>
    <item>
      <title>BasemapGallery with ArcGISTiledMapServiceLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemapgallery-with-arcgistiledmapservicelayer/m-p/554794#M51732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;during implementation of basemapGallery for basemaps switching I came to the issue because basemaps are not loaded in tiled way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I used this example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/widget_basemapManual.html" title="https://developers.arcgis.com/javascript/jssamples/widget_basemapManual.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Basemap Gallery - user-defined items | ArcGIS API for JavaScript&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var waterTemplateLayer = new esri.dijit.BasemapLayer({
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url:"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fmydomain.com%2Farcgis%2Frest%2Fservices%2FBaseMaps%2FService1%2FImageServer" target="_blank"&gt;http://mydomain.com/arcgis/rest/services/BaseMaps/Service1/ImageServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
 });&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so I just replaced the url with my ArcGISTiledMapServiceLayer service (in EPSG 32633), but in my webapplication I have dynamic request to my service, as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;arcgis/rest/services/BaseMaps/Service1/ImageServer/exportImage?f=image&amp;amp;bbox=633067.2678012023%2C4555010.16002032%2C661430.6578613158%2C4569860.72305478&amp;amp;imageSR=32633&amp;amp;bboxSR=32633&amp;amp;size=1675%2C877&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something can help me? H&lt;SPAN class="hps" style="line-height: 1.5;"&gt;ow can I&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps" style="line-height: 1.5;"&gt;configure my&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps" style="line-height: 1.5;"&gt;service for&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt; tiled &lt;/SPAN&gt;&lt;SPAN class="hps" style="line-height: 1.5;"&gt;requests?&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="almost_half_cell"&gt;&lt;DIV dir="ltr"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Michele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:58:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemapgallery-with-arcgistiledmapservicelayer/m-p/554794#M51732</guid>
      <dc:creator>MicheleDe_Santis</dc:creator>
      <dc:date>2021-12-11T23:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: BasemapGallery with ArcGISTiledMapServiceLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemapgallery-with-arcgistiledmapservicelayer/m-p/554795#M51733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am kind of confused by your thread here. When you use an ImageServer service as your basemap url there is no tiled requests. You state:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;so I just replaced the url with my ArcGISTiledMapServiceLayer service (in EPSG 32633)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But the url you are showing is still an ImageServer url : arcgis/rest/services/BaseMaps/Service1/&lt;STRONG&gt;ImageServer&lt;/STRONG&gt;/.&lt;/P&gt;&lt;P&gt;If this was a ArcGISTiledMapServiceLayer url then it would look like arcgis/rest/services/BaseMaps/Service1/&lt;STRONG&gt;MapServer&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 13:54:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemapgallery-with-arcgistiledmapservicelayer/m-p/554795#M51733</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-17T13:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: BasemapGallery with ArcGISTiledMapServiceLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemapgallery-with-arcgistiledmapservicelayer/m-p/554796#M51734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use always this sintax to add tiled service, and it works fine (with tiled request).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;map = new esri.Map("map");
&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp; var layer = new esri.layers.ArcGISTiledMapServiceLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fmydomain.com%2Farcgis%2Frest%2Fservices%2FBaseMaps%2FService1%2FImageServer" target="_blank"&gt;http://mydomain.com/arcgis/rest/services/BaseMaps/Service1/ImageServer&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;
&amp;nbsp; map.addLayer(layer);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:58:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemapgallery-with-arcgistiledmapservicelayer/m-p/554796#M51734</guid>
      <dc:creator>MicheleDe_Santis</dc:creator>
      <dc:date>2021-12-11T23:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: BasemapGallery with ArcGISTiledMapServiceLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemapgallery-with-arcgistiledmapservicelayer/m-p/554797#M51735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; As I mentioned &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fmydomain.com%2Farcgis%2Frest%2Fservices%2FBaseMaps%2FService1%2FImageServer" rel="nofollow" target="_blank"&gt;http://mydomain.com/arcgis/rest/services/BaseMaps/Service1/ImageServer&lt;/A&gt;&lt;SPAN&gt; is not an standard url for a ArcGISTiledMapServiceLayer. When using a ArcGISTiledMapServiceLayer the url should be to a MapServer url and not a ImageServer. Using an ImageServer url does work as you know but is not what ArcGISTiledMapServiceLayer is designed for. The BasemapLayer is going to make it own decisions on what the proper request string is based on the service type and because you are feeding it a ImageServer url it will request the data like you posted above:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;arcgis/rest/services/BaseMaps/Service1/ImageServer/exportImage?f=image&amp;amp;bbox=&lt;SPAN class="number"&gt;633067.2678012023%2C4555010.&lt;SPAN class="number"&gt;16002032&lt;/SPAN&gt;%2C661430.&lt;SPAN class="number"&gt;6578613158&lt;/SPAN&gt;%2C4569860.&lt;SPAN class="number"&gt;72305478&lt;/SPAN&gt;&amp;amp;imageSR=&lt;SPAN class="number"&gt;32633&lt;/SPAN&gt;&amp;amp;bboxSR=&lt;SPAN class="number"&gt;32633&lt;/SPAN&gt;&amp;amp;size=&lt;SPAN class="number"&gt;1675&lt;/SPAN&gt;%2C877&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN class="number"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 14:44:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemapgallery-with-arcgistiledmapservicelayer/m-p/554797#M51735</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-17T14:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: BasemapGallery with ArcGISTiledMapServiceLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemapgallery-with-arcgistiledmapservicelayer/m-p/554798#M51736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michelle, the problem is not with the image service itself.&amp;nbsp; It is with the basemapGallery widget.&amp;nbsp; Here is a link to a thread with a potential workaround...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/174523"&gt;Cached Image Service behaving dynamically in basemap gallery&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 15:14:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemapgallery-with-arcgistiledmapservicelayer/m-p/554798#M51736</guid>
      <dc:creator>BillDaigle</dc:creator>
      <dc:date>2016-03-24T15:14:52Z</dc:date>
    </item>
  </channel>
</rss>

