<?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: MapView container restricted to a DIV element with 4.25 release in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-container-restricted-to-a-div-element-with/m-p/1240398#M79623</link>
    <description>&lt;P&gt;I agree that this needs to be added in the breaking changes section.&amp;nbsp; It took me a couple of hours to figure out the cause of this issue.&amp;nbsp; Then I was able to see why thanks to this thread.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 22:33:20 GMT</pubDate>
    <dc:creator>AlexNguyen1</dc:creator>
    <dc:date>2022-12-12T22:33:20Z</dc:date>
    <item>
      <title>MapView container restricted to a DIV element with 4.25 release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-container-restricted-to-a-div-element-with/m-p/1231460#M79321</link>
      <description>&lt;P&gt;Starting with the 4.25 release, the MapView &lt;EM&gt;container&lt;/EM&gt; property must reference an ID of a DIV element. This aligns with the documentation for the container property (HTMLDivElement) for 4.25 and even historical help versions. However, in previous versions (4.24) this wasn't enforced allowing developers to use other element types: SPAN, MAIN, P, etc.&lt;/P&gt;&lt;P&gt;An error message: &lt;EM&gt;&lt;STRONG&gt;[esri.views.MapView]" "#container" "element with id 'viewDiv' not found&lt;/STRONG&gt;&lt;/EM&gt; will be in the console.&lt;/P&gt;&lt;P&gt;Is it possible to update the error message to be more specific in this scenario, or list a breaking change in the what's new for 4.25 section (recognizing it was listed as a HTMLDivElement requirement historically but not enforced)?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 21:22:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-container-restricted-to-a-div-element-with/m-p/1231460#M79321</guid>
      <dc:creator>BryanMc</dc:creator>
      <dc:date>2022-11-14T21:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: MapView container restricted to a DIV element with 4.25 release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-container-restricted-to-a-div-element-with/m-p/1240398#M79623</link>
      <description>&lt;P&gt;I agree that this needs to be added in the breaking changes section.&amp;nbsp; It took me a couple of hours to figure out the cause of this issue.&amp;nbsp; Then I was able to see why thanks to this thread.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 22:33:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-container-restricted-to-a-div-element-with/m-p/1240398#M79623</guid>
      <dc:creator>AlexNguyen1</dc:creator>
      <dc:date>2022-12-12T22:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: MapView container restricted to a DIV element with 4.25 release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-container-restricted-to-a-div-element-with/m-p/1258602#M80274</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;At 4.25, &amp;nbsp;we added the check so that users would get a warning message if the container doesn't exist.&lt;BR /&gt;We revisited our implementation so that the error will be thrown only if the named element does not exist. You now will be able to add a map to different elements. You can test the fix in our next release:&amp;nbsp;&lt;A href="https://codepen.io/U_B_U/pen/bGxNgEM?editors=1000" target="_blank"&gt;https://codepen.io/U_B_U/pen/bGxNgEM?editors=1000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 18:25:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-container-restricted-to-a-div-element-with/m-p/1258602#M80274</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2023-02-15T18:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: MapView container restricted to a DIV element with 4.25 release</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-container-restricted-to-a-div-element-with/m-p/1258896#M80291</link>
      <description>&lt;P&gt;Thank you. I can confirm this is fixed in the beta &lt;STRONG&gt;4.26&lt;/STRONG&gt; release and allows for different elements again.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 15:21:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapview-container-restricted-to-a-div-element-with/m-p/1258896#M80291</guid>
      <dc:creator>BryanMc</dc:creator>
      <dc:date>2023-02-16T15:21:44Z</dc:date>
    </item>
  </channel>
</rss>

