<?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 Displaying Different Basemaps (eg places) in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/displaying-different-basemaps-eg-places/m-p/1315267#M39</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying out the new Places service, and specifically trying to display place information on my basemap.&amp;nbsp;&lt;A href="https://jsapi.maps.arcgis.com/home/item.html?id=177e576ca3c94d5890dc3c790b29c1be" target="_blank" rel="noopener"&gt;https://jsapi.maps.arcgis.com/home/item.html?id=177e576ca3c94d5890dc3c790b29c1be&lt;/A&gt;&amp;nbsp;I found that item which has exactly the data I'm looking for. I was excited to discover that Leaflet's vectorBasemapLayer allows passing an item ID, so I tried that:&amp;nbsp;&lt;A href="https://codepen.io/dandormont-the-decoder/pen/eYQXOyr" target="_blank" rel="noopener"&gt;https://codepen.io/dandormont-the-decoder/pen/eYQXOyr&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And it seems to load, but nothing displays and there are errors like "duplicate layer id "Religion place/Other Religion", previously used at line undefined&lt;BR /&gt;at Object.Tr [as emitValidationErrors"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I load a layer like this using esri-leaflet?&lt;/P&gt;
&lt;P&gt;Thanks, Dan&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 19:48:38 GMT</pubDate>
    <dc:creator>DanielDormont</dc:creator>
    <dc:date>2023-08-25T19:48:38Z</dc:date>
    <item>
      <title>Displaying Different Basemaps (eg places)</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/displaying-different-basemaps-eg-places/m-p/1315267#M39</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying out the new Places service, and specifically trying to display place information on my basemap.&amp;nbsp;&lt;A href="https://jsapi.maps.arcgis.com/home/item.html?id=177e576ca3c94d5890dc3c790b29c1be" target="_blank" rel="noopener"&gt;https://jsapi.maps.arcgis.com/home/item.html?id=177e576ca3c94d5890dc3c790b29c1be&lt;/A&gt;&amp;nbsp;I found that item which has exactly the data I'm looking for. I was excited to discover that Leaflet's vectorBasemapLayer allows passing an item ID, so I tried that:&amp;nbsp;&lt;A href="https://codepen.io/dandormont-the-decoder/pen/eYQXOyr" target="_blank" rel="noopener"&gt;https://codepen.io/dandormont-the-decoder/pen/eYQXOyr&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And it seems to load, but nothing displays and there are errors like "duplicate layer id "Religion place/Other Religion", previously used at line undefined&lt;BR /&gt;at Object.Tr [as emitValidationErrors"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I load a layer like this using esri-leaflet?&lt;/P&gt;
&lt;P&gt;Thanks, Dan&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 19:48:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/displaying-different-basemaps-eg-places/m-p/1315267#M39</guid>
      <dc:creator>DanielDormont</dc:creator>
      <dc:date>2023-08-25T19:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Different Basemaps (eg places)</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/displaying-different-basemaps-eg-places/m-p/1315280#M40</link>
      <description>&lt;P&gt;Hm. I partly answered my own question by creating a copy of that style and editing it in the Vector Tile Style Editor. I went into the JSON and manually removed the duplicates.&amp;nbsp;&lt;A href="https://dawx3gjaixmoyunx.maps.arcgis.com/home/item.html?id=69b1cd50b88945f6aaa2ba2b29f3640d" target="_blank"&gt;https://dawx3gjaixmoyunx.maps.arcgis.com/home/item.html?id=69b1cd50b88945f6aaa2ba2b29f3640d&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If I use that item ID instead, the map does start to display but I have a newer and more mysterious error: "&lt;SPAN&gt;Unimplemented type: 3"&lt;/SPAN&gt;"&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 20:18:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/displaying-different-basemaps-eg-places/m-p/1315280#M40</guid>
      <dc:creator>DanielDormont</dc:creator>
      <dc:date>2023-08-03T20:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Different Basemaps (eg places)</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/displaying-different-basemaps-eg-places/m-p/1315331#M41</link>
      <description>&lt;P&gt;Well, I found a workaround but I wouldn't quite call it a solution. Some googling suggested that the "unimplemented type 3" error comes when mapbox/maplibre downloads a PBF that is incorrectly gzipped. So I looked into all the PBFs that were being fetched, and while there were no gzip issues, there was this curiousity:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://basemaps-api.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/resources/fonts/Arial%20Bold,Arial%20Unicode%20MS%20Bold/0-255.pbf?token=MY_API" target="_blank"&gt;https://basemaps-api.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/resources/fonts/Arial%20Bold,Arial%20Unicode%20MS%20Bold/0-255.pbf?token=MY_API_KEY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which returns a JSON error "Requested font resource not available" which is obviously not a valid PBF. I'm not sure what that means but when I went back to the vector editor, I indeed found many references to "Arial Unicode MS Bold". By deleting all of these, and creating another copy of my style layer, I was finally able to get the map to load.&lt;/P&gt;&lt;P&gt;But I'm a little confused. Why doesn't that fontstack load? And why doesn't the Map Viewer / ArcGIS Javascript have the same problem?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 22:00:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/displaying-different-basemaps-eg-places/m-p/1315331#M41</guid>
      <dc:creator>DanielDormont</dc:creator>
      <dc:date>2023-08-03T22:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Different Basemaps (eg places)</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/displaying-different-basemaps-eg-places/m-p/1315760#M42</link>
      <description>&lt;P&gt;the map style &lt;A href="https://jsapi.maps.arcgis.com/home/item.html?id=177e576ca3c94d5890dc3c790b29c1be" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jsapi.maps.arcgis.com/home/item.html?id=177e576ca3c94d5890dc3c790b29c1be&lt;/A&gt;&amp;nbsp; is currently in beta release for evaluation only, and not considered ready to production use. Maybe the issues will get resolved once it is in production.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 23:09:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/displaying-different-basemaps-eg-places/m-p/1315760#M42</guid>
      <dc:creator>John-Foster</dc:creator>
      <dc:date>2023-08-04T23:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Different Basemaps (eg places)</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/displaying-different-basemaps-eg-places/m-p/1316216#M43</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/350691"&gt;@John-Foster&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's fair. I was more just trying to understand how map styles are loaded by the different clients and why this fails in this particular way&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 21:12:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/displaying-different-basemaps-eg-places/m-p/1316216#M43</guid>
      <dc:creator>DanielDormont</dc:creator>
      <dc:date>2023-08-07T21:12:39Z</dc:date>
    </item>
  </channel>
</rss>

