<?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: basemap changing, webmapId in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145556#M13547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think we have what you're looking for at 4x:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/noash/pen/xxxEqda" title="https://codepen.io/noash/pen/xxxEqda"&gt;https://codepen.io/noash/pen/xxxEqda&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Oct 2019 17:28:04 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2019-10-17T17:28:04Z</dc:date>
    <item>
      <title>basemap changing, webmapId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145550#M13541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on an app which use arcgis online map,&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;arcgisUtils.createMap(webmapId, "mapDiv").then(function(response) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map = response.map;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And I would like to change the basemap like &lt;A href="https://developers.arcgis.com/javascript/jssamples/widget_toggle.html"&gt;this sample&lt;/A&gt;, after many tries I wonder if it's possible to do it with a webmapId. If it's possible I'd appreciate some tips if possible...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you vm !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 16:28:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145550#M13541</guid>
      <dc:creator>Dianede_lanfranchi</dc:creator>
      <dc:date>2014-12-10T16:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: basemap changing, webmapId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145551#M13542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 13:37:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145551#M13542</guid>
      <dc:creator>Dianede_lanfranchi</dc:creator>
      <dc:date>2014-12-11T13:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: basemap changing, webmapId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145552#M13543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never thought about that. (So I am totally guessing what may work here.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried ... ?&lt;/P&gt;&lt;P&gt;1. Put "arcgisUtils.createMap(webmapId, "mapDiv").then(function(response) { map = response.map;}" inside a function that accept webmapId paramter?&lt;/P&gt;&lt;P&gt;2. Create a toggle button to toggle between map id's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, the potential problem may be that there are more than one base layer/map in the map, but you can find out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 00:28:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145552#M13543</guid>
      <dc:creator>YungKaiChin</dc:creator>
      <dc:date>2014-12-17T00:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: basemap changing, webmapId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145553#M13544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Diane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current BasemapToggle widget doesn't support ArcGIS Online web maps. We hope to add support for working with web maps to this widget at a future release. That said it is possible to get this to work by 'hacking' in a fix until widget support is available. I've attached a zip file that includes a code sample showing how to use the Basemap Toggle widget with a web map. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 01:13:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145553#M13544</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2014-12-17T01:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: basemap changing, webmapId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145554#M13545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you for this, I will try to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Made it work so ty vm both of you for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 13:44:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145554#M13545</guid>
      <dc:creator>Dianede_lanfranchi</dc:creator>
      <dc:date>2014-12-17T13:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: basemap changing, webmapId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145555#M13546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kelly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance you guys have added built-in support for this yet?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 21:48:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145555#M13546</guid>
      <dc:creator>ChrisGuirguis</dc:creator>
      <dc:date>2019-10-16T21:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: basemap changing, webmapId</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145556#M13547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think we have what you're looking for at 4x:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/noash/pen/xxxEqda" title="https://codepen.io/noash/pen/xxxEqda"&gt;https://codepen.io/noash/pen/xxxEqda&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 17:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-changing-webmapid/m-p/145556#M13547</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-10-17T17:28:04Z</dc:date>
    </item>
  </channel>
</rss>

