<?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: VectorTileLayer using MapBoxServices doesn't work with satellite-streets in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vectortilelayer-using-mapboxservices-doesn-t-work/m-p/132009#M12317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to help.&amp;nbsp; To close the question, please mark the answer as correct if the solution is sufficient.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2016 06:37:03 GMT</pubDate>
    <dc:creator>FC_Basson</dc:creator>
    <dc:date>2016-06-30T06:37:03Z</dc:date>
    <item>
      <title>VectorTileLayer using MapBoxServices doesn't work with satellite-streets</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vectortilelayer-using-mapboxservices-doesn-t-work/m-p/132006#M12314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm experiencing some problem in adding the "satellite-streets" mapBox vectorTileLayer in a mapView. I use the same code as shown in the documentation : "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-VectorTileLayer.html"&gt;VectorTileLayer | API Reference | ArcGIS API for JavaScript 4.0".&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can successfully add the satellite, streets, dark etc... from MapBox but it doesn't work with the satellite-streets vectorTileLayer.&lt;/P&gt;&lt;P&gt;I was able to add this layer in AGOL in a map, by adding data from the web as tileLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a little code snippet that show the behavior &lt;A href="https://jsfiddle.net/p1oL6go8/" title="https://jsfiddle.net/p1oL6go8/"&gt;Edit fiddle - JSFiddle&lt;/A&gt;&amp;nbsp; (you have to provide your own developper access_token to test it), and you will see that all vectorTileLayer from mapBox are working, only the satellite-streets vectorTile doesn't work.&lt;/P&gt;&lt;P&gt;I can't figure out why this doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 09:02:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vectortilelayer-using-mapboxservices-doesn-t-work/m-p/132006#M12314</guid>
      <dc:creator>Jean-MarcRoy</dc:creator>
      <dc:date>2016-06-29T09:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: VectorTileLayer using MapBoxServices doesn't work with satellite-streets</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vectortilelayer-using-mapboxservices-doesn-t-work/m-p/132007#M12315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could get your example working by using a WebTileLayer instead (&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WebTileLayer.html#constructors" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WebTileLayer.html#constructors" rel="nofollow noopener noreferrer" target="_blank"&gt;WebTileLayer | API Reference | ArcGIS API for JavaScript 4.0&lt;/A&gt; ).&amp;nbsp; Define your tileLayer2 like this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var tileLayer2 = new WebTileLayer({
&lt;SPAN&gt;&amp;nbsp; urlTemplate: '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;{subDomain}.tiles.mapbox.com/v4/mapbox.streets-satellite/{level}/{col}/{row}.png?access_token=' + token,&lt;/SPAN&gt;
&amp;nbsp; subDomains: ['a', 'b']
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:24:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vectortilelayer-using-mapboxservices-doesn-t-work/m-p/132007#M12315</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2021-12-11T07:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: VectorTileLayer using MapBoxServices doesn't work with satellite-streets</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vectortilelayer-using-mapboxservices-doesn-t-work/m-p/132008#M12316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks FC Basson!&lt;/P&gt;&lt;P&gt;Works fine, I tried earlier with the WebTileLayer but was experiencing some bug with the tile position, because I used the wrong urlTemplate:&lt;SPAN style="color: #e23d39;"&gt; &lt;SPAN style="font-size: 10pt;"&gt;" '&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #e23d39; font-family: Menlo, 'Bitstream Vera Sans Mono', Monaco, Consolas, monospace; font-size: 10pt;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fapi.mapbox.com%2Fstyles%2Fv1%2Fmapbox%2Fsatellite-streets-v9%2Ftiles%2F256%2F" rel="nofollow" target="_blank"&gt;https://api.mapbox.com/styles/v1/mapbox/satellite-streets-v9/tiles/256/&lt;/A&gt;&lt;SPAN&gt;{level}/{col}/{row}@2x?access_token=' + token"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I will use this for the moment!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 11:48:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vectortilelayer-using-mapboxservices-doesn-t-work/m-p/132008#M12316</guid>
      <dc:creator>Jean-MarcRoy</dc:creator>
      <dc:date>2016-06-29T11:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: VectorTileLayer using MapBoxServices doesn't work with satellite-streets</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vectortilelayer-using-mapboxservices-doesn-t-work/m-p/132009#M12317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to help.&amp;nbsp; To close the question, please mark the answer as correct if the solution is sufficient.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 06:37:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vectortilelayer-using-mapboxservices-doesn-t-work/m-p/132009#M12317</guid>
      <dc:creator>FC_Basson</dc:creator>
      <dc:date>2016-06-30T06:37:03Z</dc:date>
    </item>
  </channel>
</rss>

