<?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 GeoAnalytics maps in Iframes - IE11 issue in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1601890#M10963</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am experiencing an issue with GeoAnalytics maps in my SingleIntegration API Iframe mashups.&amp;nbsp; I have an app with seven sheets, three of which feature one or more GeoAnalytics maps and I pre-load all of them into separate iframes in order to reduce the time taken to navigate between the sheets and then show/hide according to the selected sheets.&amp;nbsp; This works fine in Chrome, Firefox and Edge browsers, but in IE11, if I have more than one map sheet, it causes some of the sheets no to be displayed.&amp;nbsp; I have played with not pre-loading and emptying each iframe when navigating between sheets, but I still have the same issue (although I can display one more map sheet).&lt;/P&gt;&lt;P&gt;I have read some reports of memory leaks in IE11 and wonder if this is related.&amp;nbsp; Does anyone have any experience or advice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:27:42 GMT</pubDate>
    <dc:creator>rbartley</dc:creator>
    <dc:date>2024-11-16T20:27:42Z</dc:date>
    <item>
      <title>GeoAnalytics maps in Iframes - IE11 issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1601890#M10963</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am experiencing an issue with GeoAnalytics maps in my SingleIntegration API Iframe mashups.&amp;nbsp; I have an app with seven sheets, three of which feature one or more GeoAnalytics maps and I pre-load all of them into separate iframes in order to reduce the time taken to navigate between the sheets and then show/hide according to the selected sheets.&amp;nbsp; This works fine in Chrome, Firefox and Edge browsers, but in IE11, if I have more than one map sheet, it causes some of the sheets no to be displayed.&amp;nbsp; I have played with not pre-loading and emptying each iframe when navigating between sheets, but I still have the same issue (although I can display one more map sheet).&lt;/P&gt;&lt;P&gt;I have read some reports of memory leaks in IE11 and wonder if this is related.&amp;nbsp; Does anyone have any experience or advice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1601890#M10963</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2024-11-16T20:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: GeoAnalytics maps in Iframes - IE11 issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1612765#M11111</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;
&lt;P&gt;Sorry for the slow response.&lt;/P&gt;
&lt;P class=""&gt;It sounds similar to an issue with the map extension in iframes that another customer reported to us recently, which I have started looking into for a fix.&lt;BR /&gt;If you check the size of the map canvas, does it have a width and/or height of 0?&lt;BR /&gt;In that case it is due to the map parent for some reason having a size of 0 when the map adds its canvas element to it, which makes it set its canvas to height/width 0 as well.&lt;/P&gt;
&lt;P class=""&gt;The map will notice that it doesn't fill its parent when drawing, so e.g. changing the selection should make it visible.&lt;/P&gt;
&lt;P class=""&gt;One way to force it to redraw externally is to call the &lt;A href="https://help.qlik.com/en-US/sense-developer/June2019/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/RootAPI/resize-method.htm" target="_self"&gt;qlik.resize()&lt;/A&gt; method. So a workaround for now could be to be to call resize so that it can redraw and resize itself. Maybe calling it via &lt;EM&gt;setTimeout&lt;/EM&gt; in the iframe switching code so that the layout is complete when it runs.&lt;/P&gt;
&lt;P class=""&gt;Regards,&lt;BR /&gt;Kalle&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 09:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1612765#M11111</guid>
      <dc:creator>KallePersson</dc:creator>
      <dc:date>2019-08-15T09:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: GeoAnalytics maps in Iframes - IE11 issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1616011#M11167</link>
      <description>&lt;P&gt;Hi Kalle,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; Unfortunately, I can't call qlik.resize() as I'm using the Single Integration (iframe) API, not the Capability API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2019 13:49:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1616011#M11167</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-08-23T13:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: GeoAnalytics maps in Iframes - IE11 issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1616649#M11175</link>
      <description>&lt;P&gt;Hi Richard,&lt;/P&gt;
&lt;P&gt;Sorry about that. Here is a working workaround until we fix it:&lt;BR /&gt;Since the maps resize listener will cause it to redraw and thus resize itself you can trigger it by changing the size of the iframe after you switch to it, by e.g. increasing / decreasing its width or height by 1.&lt;/P&gt;
&lt;P&gt;Something like this worked for me when testing (with jQuery):&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;iframe.show();
iframe.width(iframe.width() + 1); // or just a fix value, as long as it changes so the event is triggered&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;You might also want to change the size in the opposite direction when hiding them, to reset.&lt;/P&gt;
&lt;P&gt;Hope this works for you as well.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Kalle&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 14:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1616649#M11175</guid>
      <dc:creator>KallePersson</dc:creator>
      <dc:date>2019-08-26T14:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: GeoAnalytics maps in Iframes - IE11 issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1616653#M11177</link>
      <description>&lt;P&gt;Hi Kalle,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for responding again.&amp;nbsp; I'll take a look at your proposal and update this post with my findings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2019 14:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1616653#M11177</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-08-26T14:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: GeoAnalytics maps in Iframes - IE11 issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1616663#M11178</link>
      <description>Hi again, just realized that it should be enough for you to resize the iframe only once, since the map will already have a proper size after that. That is unless the iframes are expected to change in size when hidden.</description>
      <pubDate>Mon, 26 Aug 2019 14:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/GeoAnalytics-maps-in-Iframes-IE11-issue/m-p/1616663#M11178</guid>
      <dc:creator>KallePersson</dc:creator>
      <dc:date>2019-08-26T14:31:19Z</dc:date>
    </item>
  </channel>
</rss>

