<?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: Trying to find basemap identifiers that correspond to Basemap Gallery options in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-find-basemap-identifiers-that-correspond/m-p/1080400#M73933</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/493893"&gt;@jbarrmetro&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find the ArcGIS Online basemap collection by signing in to ArcGIS Online. Click on Content and select Living Atlas (it should be just under your login). In the filters down the left side, select Basemaps. In the Search Living Atlas enter owner=Esri. That should limit the search to 81 basemaps. Adding AND 'Human Geography' returned four candidates for you to review. Replacing 'Human Geography' with the titles to your other basemaps should provide you with want you want. You'll find the URLs to each on the details page.&lt;/P&gt;&lt;P&gt;owner:Esri AND 'Human Geography'&lt;/P&gt;&lt;P&gt;-Rudy&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jul 2021 17:54:12 GMT</pubDate>
    <dc:creator>RudyProsser</dc:creator>
    <dc:date>2021-07-19T17:54:12Z</dc:date>
    <item>
      <title>Trying to find basemap identifiers that correspond to Basemap Gallery options</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-find-basemap-identifiers-that-correspond/m-p/1079711#M73913</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am building an application that persists certain user preferences in Local Storage between uses so they don't have to reset everything each time they login. I'm using a Basemap Gallery widget, and one of the things I'd like to persist is the user's selection.&lt;/P&gt;&lt;P&gt;I've registered a click event handler on the Gallery's container, and in the handler I'm getting the basemap title as that seems like the simplest way to identify which map has been selected (it's extremely unfortunate that the basemap identifier is not available, but so it goes).&lt;/P&gt;&lt;P&gt;I have a dictionary mapping the titles for the available basemaps to the identifiers, which I found&amp;nbsp;&lt;A title="Map documentation - list of basemaps" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. I was able to find identifiers for all basemap titles except these:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Human Geography Map&lt;/LI&gt;&lt;LI&gt;&lt;DIV&gt;&lt;SPAN&gt;Human&amp;nbsp;Geography&amp;nbsp;Dark&amp;nbsp;Map&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV&gt;&lt;SPAN&gt;Outline&amp;nbsp;Map&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;USGS National Map&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;USA Topo Maps&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;OpenStreetMap (Blueprint)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Additionally, I found the identifier "hybrid," which seems likely to me that it's one of these two:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Firefly Imagery Hybrid&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;NAIP Imagery Hybrid&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;so I also need an identifier for at least one of those.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help with filling in the blanks on these missing identifiers would be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 16:15:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-find-basemap-identifiers-that-correspond/m-p/1079711#M73913</guid>
      <dc:creator>jbarrmetro</dc:creator>
      <dc:date>2021-07-16T16:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to find basemap identifiers that correspond to Basemap Gallery options</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-find-basemap-identifiers-that-correspond/m-p/1079857#M73916</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/493893"&gt;@jbarrmetro&lt;/a&gt;&amp;nbsp;It is not uncommon for basemaps to not have a well know id/name.&lt;/P&gt;&lt;P&gt;For those basemaps that do not have a well know id you use a PortalItem to set the basemap.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;let basemap = new Basemap({
  portalItem: {
    id: "9e557abc61ce41c9b8ec8b15800c20d3"  // Firefly Imagery Hybrid
  }
});&lt;/LI-CODE&gt;&lt;P&gt;To determine the portal item ids look at the basemaps portalItem property and then the id property.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 20:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-find-basemap-identifiers-that-correspond/m-p/1079857#M73916</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-07-16T20:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to find basemap identifiers that correspond to Basemap Gallery options</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-find-basemap-identifiers-that-correspond/m-p/1080400#M73933</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/493893"&gt;@jbarrmetro&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find the ArcGIS Online basemap collection by signing in to ArcGIS Online. Click on Content and select Living Atlas (it should be just under your login). In the filters down the left side, select Basemaps. In the Search Living Atlas enter owner=Esri. That should limit the search to 81 basemaps. Adding AND 'Human Geography' returned four candidates for you to review. Replacing 'Human Geography' with the titles to your other basemaps should provide you with want you want. You'll find the URLs to each on the details page.&lt;/P&gt;&lt;P&gt;owner:Esri AND 'Human Geography'&lt;/P&gt;&lt;P&gt;-Rudy&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 17:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-find-basemap-identifiers-that-correspond/m-p/1080400#M73933</guid>
      <dc:creator>RudyProsser</dc:creator>
      <dc:date>2021-07-19T17:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to find basemap identifiers that correspond to Basemap Gallery options</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-find-basemap-identifiers-that-correspond/m-p/1080886#M73956</link>
      <description>&lt;P&gt;Thanks to both of you for your helpful suggestions! I've actually been told to restrict sources for the gallery to basemaps available through our enterprise portal, so the problem resolved itself for me, but these answers may be helpful for me in my own projects.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 15:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-find-basemap-identifiers-that-correspond/m-p/1080886#M73956</guid>
      <dc:creator>jbarrmetro</dc:creator>
      <dc:date>2021-07-20T15:46:37Z</dc:date>
    </item>
  </channel>
</rss>

