<?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 Vector Tiles: Set Access Token in 4.0 beta 3? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399666#M36795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 3.15, you can use third party Vector Tiles by setting the Access Token like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="typ" style="color: #000000;"&gt;VectorTileLayer&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;ACCESS_TOKEN &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;" &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; vectorTileLayer &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #000000;"&gt;VectorTileLayer&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"mapbox://styles/mapbox/streets-v8"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;Is there a way to do this in 4.0 beta 3? There seems to be no mention of using an Access Token in the API documentation. For now, are we only able to use the listed Esri Vector Tile URLs (World Base Map and 8 JSON style objects) in the documentation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jan 2016 13:10:20 GMT</pubDate>
    <dc:creator>DavidChrest</dc:creator>
    <dc:date>2016-01-08T13:10:20Z</dc:date>
    <item>
      <title>Vector Tiles: Set Access Token in 4.0 beta 3?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399666#M36795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In 3.15, you can use third party Vector Tiles by setting the Access Token like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="typ" style="color: #000000;"&gt;VectorTileLayer&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;ACCESS_TOKEN &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;" &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; vectorTileLayer &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="color: #000000;"&gt;VectorTileLayer&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;"mapbox://styles/mapbox/streets-v8"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;Is there a way to do this in 4.0 beta 3? There seems to be no mention of using an Access Token in the API documentation. For now, are we only able to use the listed Esri Vector Tile URLs (World Base Map and 8 JSON style objects) in the documentation?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 13:10:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399666#M36795</guid>
      <dc:creator>DavidChrest</dc:creator>
      <dc:date>2016-01-08T13:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Tiles: Set Access Token in 4.0 beta 3?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399667#M36796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it should work if you add the token to the URL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 16:21:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399667#M36796</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2016-01-08T16:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Tiles: Set Access Token in 4.0 beta 3?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399668#M36797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried that but it doesn't seem to work that simple. I am not sure of the exact syntax betwee "...streets-v8" and my long access token string. I tried a couple things but nothing worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 16:36:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399668#M36797</guid>
      <dc:creator>DavidChrest</dc:creator>
      <dc:date>2016-01-08T16:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Tiles: Set Access Token in 4.0 beta 3?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399669#M36798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, this works in 4.0beta3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var tileLyr = new VectorTileLayer({
&amp;nbsp; ACCESS_TOKEN: "YOUR_KEY",
&amp;nbsp; url: "mapbox://styles/mapbox/streets-v8"
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:14:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399669#M36798</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-12-11T18:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Tiles: Set Access Token in 4.0 beta 3?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399670#M36799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fantastic! Works great now. Makes sense, was just a matter of 4.0's syntax. Thank you so very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, congrats on the move to Esri.&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I have and love your book ArcGIS Web Devlopment. Looking forward to the 4.0 book. Like the format you planed: in-depth coverage of new aspects with multiple samples.&lt;/P&gt;&lt;P&gt;I'll miss your GeoNet blog but will remain a loyal fan of your other blog: &lt;A href="http://odoe.net/blog/" title="http://odoe.net/blog/"&gt;odoenet - programming geo&lt;/A&gt; . Has been a huge help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your quick fix and response.&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 18:59:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399670#M36799</guid>
      <dc:creator>DavidChrest</dc:creator>
      <dc:date>2016-01-08T18:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Tiles: Set Access Token in 4.0 beta 3?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399671#M36800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI, in the final (non-beta) release of 4.0, the ACCESS_TOKEN property will be treated similar to the way it is in 3.15. You will no longer be able to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;//This only works in 4.0 beta 3
var tileLyr = new VectorTileLayer({
&amp;nbsp; ACCESS_TOKEN: "YOUR_KEY",
&amp;nbsp; url: "mapbox://styles/mapbox/streets-v8"
});&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, this will be the correct way to accomplish this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;//This is how you set the access token in 4.0 final
VectorTileLayer.ACCESS_TOKEN = "YOUR_KEY";
var tileLyr = new VectorTileLayer({
&amp;nbsp; url: "mapbox://styles/mapbox/streets-v8"
});&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; font-size: 9pt !important; background-color: inherit;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; font-size: 9pt !important; background-color: inherit;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:14:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399671#M36800</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2021-12-11T18:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Tiles: Set Access Token in 4.0 beta 3?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399672#M36801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! Thank so much Kristian for letting me know. This is quite handy information I'll be using when non-beta 4.0 is released.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 03:25:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/vector-tiles-set-access-token-in-4-0-beta-3/m-p/399672#M36801</guid>
      <dc:creator>DavidChrest</dc:creator>
      <dc:date>2016-02-05T03:25:41Z</dc:date>
    </item>
  </channel>
</rss>

