<?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: TileLayer url-parameter blankTile in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/495543#M46035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you find a way to avoid 404 when tile does not exists?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Aug 2019 20:54:14 GMT</pubDate>
    <dc:creator>JeromeCauchon</dc:creator>
    <dc:date>2019-08-27T20:54:14Z</dc:date>
    <item>
      <title>TileLayer url-parameter blankTile</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/495542#M46034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to influence the blankTile=true|false URL parameter sent by a TileLayer object requesting map tiles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not find anything related in the documentation and i see that all our TileLayer objects are sending false.&lt;/P&gt;&lt;P&gt;Want to set this to blankTile=true to avoid 404 errors logged into the browser console and webserver logfiles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 07:43:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/495542#M46034</guid>
      <dc:creator>RomanKönig</dc:creator>
      <dc:date>2019-07-11T07:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: TileLayer url-parameter blankTile</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/495543#M46035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you find a way to avoid 404 when tile does not exists?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2019 20:54:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/495543#M46035</guid>
      <dc:creator>JeromeCauchon</dc:creator>
      <dc:date>2019-08-27T20:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: TileLayer url-parameter blankTile</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/495544#M46036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. Unfortunately the blankTile parameter is not supported by the API.&lt;BR /&gt;I filed an ehancement request, but it was closed and stated as "not in product plan".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 07:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/495544#M46036</guid>
      <dc:creator>RomanKönig</dc:creator>
      <dc:date>2019-08-28T07:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: TileLayer url-parameter blankTile</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/495545#M46037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/241386"&gt;Roman König&lt;/A&gt;‌ sorry for the confusion on this. You are right that normal usage of TileLayers should not be flooding the console with errors. However, one problem with requesting blankTiles is that if a user starts zoomed in, then you might run into a situation where no data is displayed despite there being data in a parent tile. We will be fixing the logic to properly request parent tiles when data for a tile at a given LOD is missing, and also avoid flooding the console with these errors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're making an internal issue (#22922) to track this, not sure that this will make it in 4.13, but we can definitely address for 4.14.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 17:15:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/495545#M46037</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2019-09-10T17:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: TileLayer url-parameter blankTile</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/1051908#M72769</link>
      <description>&lt;P&gt;You could use &lt;SPAN&gt;RequestInterceptor&lt;/SPAN&gt; (&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#RequestInterceptor" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#RequestInterceptor&lt;/A&gt;) to catch requests and replace the blankTile parameter. Something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;esriConfig.request.interceptors.push({
    urls: 'theUrl',
    before: function(params) {
        if (params.url.includes('?blankTile=false')) {
            params.url = params.url.replace('?blankTile=false', '?blankTile=true')
        }
    }
})&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 27 Apr 2021 18:49:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/1051908#M72769</guid>
      <dc:creator>ChristopherCorliss1</dc:creator>
      <dc:date>2021-04-27T18:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: TileLayer url-parameter blankTile</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/1135120#M76001</link>
      <description>&lt;P&gt;Was this issue ever resolved? Still seeing the console flooded with errors in 4.20.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jan 2022 19:59:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/tilelayer-url-parameter-blanktile/m-p/1135120#M76001</guid>
      <dc:creator>DeniseDemone1</dc:creator>
      <dc:date>2022-01-19T19:59:05Z</dc:date>
    </item>
  </channel>
</rss>

