<?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: problem resizing map in floating pane in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-resizing-map-in-floating-pane/m-p/64632#M5637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I knew I needed a different pair of eyes!&amp;nbsp; I was sure that would fix it, but it didn't!.&amp;nbsp; I'm noticing setting a breakpoint when the map is created, it's height and width are defined as 400x400 px. In the documentation, it says the size is determined by the div it's in.&amp;nbsp; but since my div is within a floating pane that isn't yet opened, maybe it's getting confused?&amp;nbsp; I have set explicit dimensions (comparable to the dimensions of the floating panel), to 100% to auto and to inherit (which all sound the same to me, but I'm sure have subtle differences!).&amp;nbsp; Nothing is making my map budge from it's 400 x 400 size.&amp;nbsp; In Firebug, I can set the dimensions of the mapDiv and mapDiv_root, which seems to be the container within it once it's renderer, but adding dimensions for the styles of those doesn't make any difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map is still not resizing when I resize the pane.&amp;nbsp; I have the resizeHandle.css referenced, which seems to be a common error people make.&amp;nbsp;&amp;nbsp; My 'workaround' is to have the dimension of the floating pane to also be a square, so it's not so obvious I have a problem.&amp;nbsp; But that's no kind of solution!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did finally dig around enough in the style of the dock to get my button to look better!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jan 2013 16:18:30 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2013-01-02T16:18:30Z</dc:date>
    <item>
      <title>problem resizing map in floating pane</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-resizing-map-in-floating-pane/m-p/64630#M5635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a map that starts with a search of facilities.&amp;nbsp; The user can decide once they see the list if they also want to see a map of the features.&amp;nbsp; By default, no map is shown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a floating pane for the map and set a dock to act as a button for the user to click on to open the map.&amp;nbsp; First of all, I'm having a little problem styling the dock 'button'.&amp;nbsp; I've been working to have an image on it as well as a piece of text, but at the moment it still looks like a button separate from the image and not a single seamless looking object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly, when you click the button that opens the floating pane, in Firefox, the map only takes up the left 1/2 of the pane.&amp;nbsp; It seems to look OK in IE (very surprising!).&amp;nbsp; I have my map height and width set to 100%, but somewhere I'm missing another setting to fill the pane properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[HTML]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://wwwgis.dhss.mo.gov/Website/VCFprovider/provider.html[/HTML]" rel="nofollow" target="_blank"&gt;http://wwwgis.dhss.mo.gov/Website/VCFprovider/provider.html[/HTML]&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Third, when I resize my floating pane, my map isn't resizing.&amp;nbsp; I thought I was accounting for that, but maybe it makes a difference that the pane is dynamically resizable as opposed to a map that might be resized because of a browser resize?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Last, in IE, my grid, which I think I have hidden or invisible at start up until the user makes a selection, shows an outline of the grid column headings in IE, but not Firefox.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 14:12:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-resizing-map-in-floating-pane/m-p/64630#M5635</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2013-01-02T14:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem resizing map in floating pane</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-resizing-map-in-floating-pane/m-p/64631#M5636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tracy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For your second and third problems, you are calling the wrong &amp;lt;div&amp;gt; within the mapReady function.&amp;nbsp; Change:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;dojo.connect(dijit.byId('map'), 'resize', map, map.resize);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;dojo.connect(dijit.byId('&lt;STRONG&gt;mapDiv&lt;/STRONG&gt;'), 'resize', map, map.resize);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 16:06:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-resizing-map-in-floating-pane/m-p/64631#M5636</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-01-02T16:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: problem resizing map in floating pane</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-resizing-map-in-floating-pane/m-p/64632#M5637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I knew I needed a different pair of eyes!&amp;nbsp; I was sure that would fix it, but it didn't!.&amp;nbsp; I'm noticing setting a breakpoint when the map is created, it's height and width are defined as 400x400 px. In the documentation, it says the size is determined by the div it's in.&amp;nbsp; but since my div is within a floating pane that isn't yet opened, maybe it's getting confused?&amp;nbsp; I have set explicit dimensions (comparable to the dimensions of the floating panel), to 100% to auto and to inherit (which all sound the same to me, but I'm sure have subtle differences!).&amp;nbsp; Nothing is making my map budge from it's 400 x 400 size.&amp;nbsp; In Firebug, I can set the dimensions of the mapDiv and mapDiv_root, which seems to be the container within it once it's renderer, but adding dimensions for the styles of those doesn't make any difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map is still not resizing when I resize the pane.&amp;nbsp; I have the resizeHandle.css referenced, which seems to be a common error people make.&amp;nbsp;&amp;nbsp; My 'workaround' is to have the dimension of the floating pane to also be a square, so it's not so obvious I have a problem.&amp;nbsp; But that's no kind of solution!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did finally dig around enough in the style of the dock to get my button to look better!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 16:18:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-resizing-map-in-floating-pane/m-p/64632#M5637</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2013-01-02T16:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: problem resizing map in floating pane</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-resizing-map-in-floating-pane/m-p/64633#M5638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can't seem to reproduce this.&amp;nbsp; What version of Firefox are you running?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 18:20:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-resizing-map-in-floating-pane/m-p/64633#M5638</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2013-01-02T18:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: problem resizing map in floating pane</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-resizing-map-in-floating-pane/m-p/64634#M5639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;12.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tracked down an old thread that described a similar situtation, but for tabs in a tabcontainer rather than a floating pane.&amp;nbsp; It did mention my default size of 400 x 400 as being an issue with map content for a container that's not yet initialized.&amp;nbsp; So I either need to initialize it differently than I have or just figure out a way to define the height and width before it opens the floating pane.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This started originally with a map in the center of the layout and a list in the left pane.&amp;nbsp; I didn't really change it up too much which I switched it to this version.&amp;nbsp; Mostly I wrapped the mapDiv in a floating pane when it had been in a regular contentPane.&amp;nbsp;&amp;nbsp; Mostly this has worked, but I think this problem is a side effect of not having my initializations in the right order now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 18:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-resizing-map-in-floating-pane/m-p/64634#M5639</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2013-01-02T18:37:02Z</dc:date>
    </item>
  </channel>
</rss>

