<?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: Vector Tile basemaps in MapLibre in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/vector-tile-basemaps-in-maplibre/m-p/1493049#M667</link>
    <description>&lt;P&gt;I was not able to get the GB Cartographic map to load in MapLibre, it appears the tile URL is incorrect and I can't figure out how to fix it. I suggest contacting the email that is provided on the item maybe you can work with them to resolve this issue? &lt;A href="https://www.arcgis.com/home/item.html?id=a599af89dc6d4960ba558d54337df2ee" target="_blank"&gt;https://www.arcgis.com/home/item.html?id=a599af89dc6d4960ba558d54337df2ee&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The URL is configured in the style JSON in the sources key - &lt;A href="https://www.arcgis.com/sharing/rest/content/items/a599af89dc6d4960ba558d54337df2ee/resources/styles/root.json?f=pjson" target="_blank"&gt;https://www.arcgis.com/sharing/rest/content/items/a599af89dc6d4960ba558d54337df2ee/resources/styles/root.json?f=pjson&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2024 21:50:26 GMT</pubDate>
    <dc:creator>John-Foster</dc:creator>
    <dc:date>2024-06-14T21:50:26Z</dc:date>
    <item>
      <title>Vector Tile basemaps in MapLibre</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/vector-tile-basemaps-in-maplibre/m-p/1491361#M664</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to add a vector tile basemap &lt;U&gt;other than the basemap styles service&lt;/U&gt;, which works fine.&lt;/P&gt;&lt;P&gt;I'd like to replace the basemap styles service with other vector tile basemap like&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=cabd61a6cfc44843b2ccd6969bb88cf0#" target="_blank" rel="noopener"&gt;OpenStreetMap (WGS84)&lt;/A&gt;&amp;nbsp;or &lt;A href="https://www.arcgis.com/home/item.html?id=a599af89dc6d4960ba558d54337df2ee#" target="_blank" rel="noopener"&gt;GB Cartographic &lt;/A&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;To do this, I've tried getting the styles url by going to the tile service item in agol and clicking "View style". Then I paste that url in the CodePen snippet from the &lt;A href="https://developers.arcgis.com/maplibre-gl-js/maps/display-a-map/" target="_blank" rel="noopener"&gt;'Display a map' tutorial&lt;/A&gt;, but get some errors in my console:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DiegoDazDoce_0-1718265824914.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106942i59E1D748EC7DEB29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DiegoDazDoce_0-1718265824914.png" alt="DiegoDazDoce_0-1718265824914.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DiegoDazDoce_1-1718265858979.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106943i99485D20DFB46E2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DiegoDazDoce_1-1718265858979.png" alt="DiegoDazDoce_1-1718265858979.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can anybody advice how to add vector tile basemaps in MapLibre?&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 08:12:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/vector-tile-basemaps-in-maplibre/m-p/1491361#M664</guid>
      <dc:creator>DiegoDíazDoce</dc:creator>
      <dc:date>2024-06-13T08:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Tile basemaps in MapLibre</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/vector-tile-basemaps-in-maplibre/m-p/1492236#M665</link>
      <description>&lt;P&gt;Try starting with this code sample &lt;A href="https://developers.arcgis.com/maplibre-gl-js/styles-and-data-visualization/display-a-custom-basemap-style/" target="_blank"&gt;https://developers.arcgis.com/maplibre-gl-js/styles-and-data-visualization/display-a-custom-basemap-style/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The ID for the &lt;SPAN class=""&gt;&lt;A href="https://www.arcgis.com/home/item.html?id=cabd61a6cfc44843b2ccd6969bb88cf0#" target="_blank" rel="noopener nofollow noreferrer"&gt;OpenStreetMap (WGS84)&lt;/A&gt;&lt;/SPAN&gt; is cabd61a6cfc44843b2ccd6969bb88cf0&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 00:01:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/vector-tile-basemaps-in-maplibre/m-p/1492236#M665</guid>
      <dc:creator>John-Foster</dc:creator>
      <dc:date>2024-06-14T00:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Tile basemaps in MapLibre</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/vector-tile-basemaps-in-maplibre/m-p/1492847#M666</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;Thank you for taking the time to look into my question. I have some follow up questions if you don't mind:&lt;/P&gt;&lt;P&gt;Will the url from the code sample you pointed at (&lt;A href="https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/items/${agolItemID}?token=${apiKey})" target="_blank"&gt;https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/items/${agolItemID}?token=${apiKey})&lt;/A&gt;&amp;nbsp;work with any vector tile as long as it's hosted in agol?&lt;/P&gt;&lt;P&gt;Is there a reason why it wouldn't work with my other example&amp;nbsp;&lt;A href="https://www.arcgis.com/home/item.html?id=a599af89dc6d4960ba558d54337df2ee#" target="_blank" rel="nofollow noopener noreferrer"&gt;GB Cartographic&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt; with id&amp;nbsp;a599af89dc6d4960ba558d54337df2ee?&lt;/P&gt;&lt;P&gt;I'm getting the error below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DiegoDazDoce_0-1718386469236.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107090i22F05E3B91C1C7DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DiegoDazDoce_0-1718386469236.png" alt="DiegoDazDoce_0-1718386469236.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Someone pointed out that this could be due to a malformed url in the service&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DiegoDazDoce_1-1718386630790.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107091iDF9E23ADCE1CEAE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DiegoDazDoce_1-1718386630790.png" alt="DiegoDazDoce_1-1718386630790.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If that's the case, do you know where that url is configured? I'm hoping that I can ask the owner of the item to fix it.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 17:43:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/vector-tile-basemaps-in-maplibre/m-p/1492847#M666</guid>
      <dc:creator>DiegoDíazDoce</dc:creator>
      <dc:date>2024-06-14T17:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Tile basemaps in MapLibre</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/vector-tile-basemaps-in-maplibre/m-p/1493049#M667</link>
      <description>&lt;P&gt;I was not able to get the GB Cartographic map to load in MapLibre, it appears the tile URL is incorrect and I can't figure out how to fix it. I suggest contacting the email that is provided on the item maybe you can work with them to resolve this issue? &lt;A href="https://www.arcgis.com/home/item.html?id=a599af89dc6d4960ba558d54337df2ee" target="_blank"&gt;https://www.arcgis.com/home/item.html?id=a599af89dc6d4960ba558d54337df2ee&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The URL is configured in the style JSON in the sources key - &lt;A href="https://www.arcgis.com/sharing/rest/content/items/a599af89dc6d4960ba558d54337df2ee/resources/styles/root.json?f=pjson" target="_blank"&gt;https://www.arcgis.com/sharing/rest/content/items/a599af89dc6d4960ba558d54337df2ee/resources/styles/root.json?f=pjson&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 21:50:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/vector-tile-basemaps-in-maplibre/m-p/1493049#M667</guid>
      <dc:creator>John-Foster</dc:creator>
      <dc:date>2024-06-14T21:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Vector Tile basemaps in MapLibre</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/vector-tile-basemaps-in-maplibre/m-p/1646473#M678</link>
      <description>&lt;P&gt;Hi John! I think the issue isn't coming from that specific items configuration, but rather from the ArcGIS service itself. The same relative URL of "&lt;SPAN&gt;&lt;SPAN class=""&gt;tile/{z}/{y}/{x}.pbf" is present responses from the vector tile service itself. It's present in the responses from this URL:&amp;nbsp;&lt;A href="https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer" target="_blank" rel="noopener"&gt;https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/maplibre/maplibre-gl-js/issues/182" target="_self"&gt;This MapLibre issue&lt;/A&gt; has more information about the issue, but long story short, the relative URL is not specification compliant and should be an absolute URL.&lt;/P&gt;&lt;P&gt;I'm a bit of a noobie at this stuff, so let me know if there's something I'm missing here!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 14:47:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/vector-tile-basemaps-in-maplibre/m-p/1646473#M678</guid>
      <dc:creator>6TELOIV</dc:creator>
      <dc:date>2025-08-28T14:47:54Z</dc:date>
    </item>
  </channel>
</rss>

