<?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 version 4.22 angular 13 Map container height in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/version-4-22-angular-13-map-container-height/m-p/1398930#M84094</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i am working on a project based on angular 13, i added the library arcgis/core (4.22.2).&lt;/P&gt;&lt;P&gt;as stated in the tutorials, i added the css in my component css :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;@import&lt;/SPAN&gt; &lt;SPAN&gt;url&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;A href="https://js.arcgis.com/4.22/@arcgis/core/assets/esri/themes/light/main.css" target="_blank" rel="noopener"&gt;https://js.arcgis.com/4.22/@arcgis/core/assets/esri/themes/light/main.css&lt;/A&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;i also added the height:100%;width:100% in my component css.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but i can't see the map in my page (the height is computed to 0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;i have to set mannually a height in px to see it.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;what am i doing rwrong ?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2024 11:28:15 GMT</pubDate>
    <dc:creator>marjbilou</dc:creator>
    <dc:date>2024-03-21T11:28:15Z</dc:date>
    <item>
      <title>version 4.22 angular 13 Map container height</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/version-4-22-angular-13-map-container-height/m-p/1398930#M84094</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i am working on a project based on angular 13, i added the library arcgis/core (4.22.2).&lt;/P&gt;&lt;P&gt;as stated in the tutorials, i added the css in my component css :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;@import&lt;/SPAN&gt; &lt;SPAN&gt;url&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;A href="https://js.arcgis.com/4.22/@arcgis/core/assets/esri/themes/light/main.css" target="_blank" rel="noopener"&gt;https://js.arcgis.com/4.22/@arcgis/core/assets/esri/themes/light/main.css&lt;/A&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;i also added the height:100%;width:100% in my component css.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but i can't see the map in my page (the height is computed to 0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;i have to set mannually a height in px to see it.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;what am i doing rwrong ?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 11:28:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/version-4-22-angular-13-map-container-height/m-p/1398930#M84094</guid>
      <dc:creator>marjbilou</dc:creator>
      <dc:date>2024-03-21T11:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: version 4.22 angular 13 Map container height</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/version-4-22-angular-13-map-container-height/m-p/1399074#M84098</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/778120"&gt;@marjbilou&lt;/a&gt; can you provide a simple GitHub repo or StackBlitz that reproduces the issue? And, are you are able to upgrade to the latest ArcGIS JS Maps SDK release, which is currently 4.29? Version 4.22 goes into mature support in just a few days, at the end of this month: &lt;A href="https://support.esri.com/en-us/products/arcgis-maps-sdk-for-javascript/life-cycle" target="_blank"&gt;https://support.esri.com/en-us/products/arcgis-maps-sdk-for-javascript/life-cycle.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here's our Angular sample that might give you some hints on what's not working: &lt;A href="https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli" target="_blank"&gt;https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-angular-cli&lt;/A&gt;. The sample is using Angular 17 (latest). Angular 13 is no longer supported by Google: &lt;A href="https://angular.io/guide/releases#actively-supported-versions" target="_blank"&gt;https://angular.io/guide/releases#actively-supported-versions&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 15:46:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/version-4-22-angular-13-map-container-height/m-p/1399074#M84098</guid>
      <dc:creator>AndyGup</dc:creator>
      <dc:date>2024-03-21T15:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: version 4.22 angular 13 Map container height</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/version-4-22-angular-13-map-container-height/m-p/1400827#M84124</link>
      <description>&lt;P&gt;I had the same problem.&amp;nbsp;&lt;BR /&gt;Here is the CSS code which fixed the problem for me.&amp;nbsp;&lt;BR /&gt;You need to set the container to position absolute.&lt;/P&gt;&lt;LI-CODE lang="css"&gt;@import "@arcgis/core/assets/esri/themes/light/main";

:host {
  width: 100%;
  height: 100%;
}

.map-wrapper {
  position: relative;
  height: 100%;
  width: 100%;

  .map-content {
    position: absolute;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
  }
}&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;div class="map-wrapper"&amp;gt;
  &amp;lt;arcgis-map class="map-content" /&amp;gt;
&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 26 Mar 2024 12:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/version-4-22-angular-13-map-container-height/m-p/1400827#M84124</guid>
      <dc:creator>boa_panter</dc:creator>
      <dc:date>2024-03-26T12:14:47Z</dc:date>
    </item>
  </channel>
</rss>

