<?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 WebTileLayer - tiles with partial transparency in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtilelayer-tiles-with-partial-transparency/m-p/1021977#M71569</link>
    <description>&lt;P&gt;I am using a WebTileLayer as a basemap, something like this:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;const basemap = new Basemap({&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; baseLayers: [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new WebTileLayer({&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id: 'my-basemap',&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlTemplate: 'https://my-tile-server/{z}/{x}/{y}',&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; ],&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;});&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;const map = new Map({&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; basemap,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;});&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;const view = new MapView({&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; center: [174, -40],&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; container: 'my-map',&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; map: map,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; zoom: 7,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;});&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The tiles have a white strip around the coast and beyond the white strip they are transparent. At the edge of the white strip the tiles are part transparent, part white. The edge of the white strip shows as a grey line, see screenshot.&lt;/P&gt;&lt;P&gt;I would not expect this. Since the background of the map is white the edge of the white strip should not be visible. If I view one tile in my browser with a white background I can't see the grey outline.&lt;/P&gt;&lt;P&gt;I am using ArcGIS 4.18.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2021 00:09:55 GMT</pubDate>
    <dc:creator>ColinDoig</dc:creator>
    <dc:date>2021-02-01T00:09:55Z</dc:date>
    <item>
      <title>WebTileLayer - tiles with partial transparency</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtilelayer-tiles-with-partial-transparency/m-p/1021977#M71569</link>
      <description>&lt;P&gt;I am using a WebTileLayer as a basemap, something like this:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;const basemap = new Basemap({&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; baseLayers: [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new WebTileLayer({&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id: 'my-basemap',&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; urlTemplate: 'https://my-tile-server/{z}/{x}/{y}',&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; ],&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;});&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;const map = new Map({&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; basemap,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;});&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;const view = new MapView({&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; center: [174, -40],&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; container: 'my-map',&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; map: map,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; zoom: 7,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;});&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The tiles have a white strip around the coast and beyond the white strip they are transparent. At the edge of the white strip the tiles are part transparent, part white. The edge of the white strip shows as a grey line, see screenshot.&lt;/P&gt;&lt;P&gt;I would not expect this. Since the background of the map is white the edge of the white strip should not be visible. If I view one tile in my browser with a white background I can't see the grey outline.&lt;/P&gt;&lt;P&gt;I am using ArcGIS 4.18.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 00:09:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/webtilelayer-tiles-with-partial-transparency/m-p/1021977#M71569</guid>
      <dc:creator>ColinDoig</dc:creator>
      <dc:date>2021-02-01T00:09:55Z</dc:date>
    </item>
  </channel>
</rss>

