<?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: Increase height of image in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/increase-height-of-image/m-p/1667388#M87902</link>
    <description>&lt;P&gt;I'm not very familiar with the 3.x version of the API, but it looks like when the map loads into &amp;lt;div id="yowza"&amp;gt;, it sets `style="height:400px;"` on the &amp;lt;div&amp;gt;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fdeters_0-1763592863754.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/144164iAA22221B7EFCCFD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fdeters_0-1763592863754.png" alt="fdeters_0-1763592863754.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you set a height on the &amp;lt;div&amp;gt; beforehand, it looks like that will take precedence and allow you to control the height of the map. You can add `style="height: 800px"` (or whatever height you want) to the &amp;lt;div&amp;gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Nov 2025 22:55:56 GMT</pubDate>
    <dc:creator>fdeters</dc:creator>
    <dc:date>2025-11-19T22:55:56Z</dc:date>
    <item>
      <title>Increase height of image</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/increase-height-of-image/m-p/1667227#M87900</link>
      <description>&lt;P&gt;I am updating some old app and want to increase the height of the map in the browser.&amp;nbsp; Can anyone tell me why the following code if put in a test.html file and opened in a browser will only allow the map height to be about half the window height?&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE HTML&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;Test&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;link rel="stylesheet" href="&lt;A href="https://js.arcgis.com/3.11/esri/css/esri.css" target="_blank" rel="noopener"&gt;https://js.arcgis.com/3.11/esri/css/esri.css&lt;/A&gt;" /&amp;gt;&lt;BR /&gt;&amp;lt;script src="&lt;A href="https://js.arcgis.com/3.11/" target="_blank" rel="noopener"&gt;https://js.arcgis.com/3.11/&lt;/A&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;var map;&lt;/P&gt;&lt;P&gt;require(["esri/map",&lt;BR /&gt;"esri/layers/FeatureLayer",&lt;BR /&gt;"esri/tasks/query",&lt;BR /&gt;"esri/dijit/HomeButton",&lt;BR /&gt;"esri/InfoTemplate",&lt;BR /&gt;"esri/tasks/IdentifyTask",&lt;BR /&gt;"esri/tasks/IdentifyParameters",&lt;BR /&gt;"esri/dijit/Popup",&lt;BR /&gt;"esri/Color",&lt;BR /&gt;"esri/symbols/SimpleFillSymbol",&lt;BR /&gt;"esri/symbols/SimpleLineSymbol"],&lt;BR /&gt;function (Map, FeatureLayer, Query, HomeButton, InfoTemplate, IdentifyTask, IdentifyParameters, Popup, Color, SimpleFillSymbol, SimpleLineSymbol, arrayUtils, domConstruct, dom, on) {&lt;/P&gt;&lt;P&gt;esriConfig.defaults.geometryService = new esri.tasks.GeometryService("@System.Web.Configuration.WebConfigurationManager.AppSettings['geometry_service']");&lt;BR /&gt;var esri_imagery = new esri.layers.ArcGISDynamicMapServiceLayer("&lt;A href="https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer" target="_blank" rel="noopener"&gt;https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer&lt;/A&gt;");&lt;/P&gt;&lt;P&gt;map = new Map("yowza", {&lt;BR /&gt;basemap: "hybrid"&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;map.addLayer(esri_imagery);&lt;BR /&gt;});&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;div id="yowza"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 17:14:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/increase-height-of-image/m-p/1667227#M87900</guid>
      <dc:creator>RichardPowell</dc:creator>
      <dc:date>2025-11-19T17:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Increase height of image</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/increase-height-of-image/m-p/1667388#M87902</link>
      <description>&lt;P&gt;I'm not very familiar with the 3.x version of the API, but it looks like when the map loads into &amp;lt;div id="yowza"&amp;gt;, it sets `style="height:400px;"` on the &amp;lt;div&amp;gt;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fdeters_0-1763592863754.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/144164iAA22221B7EFCCFD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fdeters_0-1763592863754.png" alt="fdeters_0-1763592863754.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you set a height on the &amp;lt;div&amp;gt; beforehand, it looks like that will take precedence and allow you to control the height of the map. You can add `style="height: 800px"` (or whatever height you want) to the &amp;lt;div&amp;gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 22:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/increase-height-of-image/m-p/1667388#M87902</guid>
      <dc:creator>fdeters</dc:creator>
      <dc:date>2025-11-19T22:55:56Z</dc:date>
    </item>
  </channel>
</rss>

