<?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: Odd behavior with two maps in separate windows (tabs) - seeing each others nav ev in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363859#M33765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;okay even more odd&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;even with navigation disabled on the new map (window.open), all navigation is broken on the parent and occurs on the child.&amp;nbsp; If i close the child tab it nukes my parent (map is null) .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;anyone?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2011 17:05:32 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2011-10-13T17:05:32Z</dc:date>
    <item>
      <title>Odd behavior with two maps in separate windows (tabs) - seeing each others nav events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363858#M33764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to make a interactive print page&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in my primary app, i set some global variables with extent, layers, graphics, etc..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i then call &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;window.open("print.html","PrintWindow");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;print.html is an interactive map template.&amp;nbsp;&amp;nbsp; its init function is &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;function init() {
&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esriConfig.defaults.map.sliderLabel = null;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp; var startExtent = new esri.geometry.Extent({"xmin":-9228363.6,"ymin":3140074.58,"xmax":-9116765.5,"ymax":3202141.45,"spatialReference":{"wkid":102100}});
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printpagemap = new esri.Map("printpagemap",{extent:opener.printMapExtent, logo:false});
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(opener.printMapLayers, dojo.hitch(this, function(layer){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printpagemap.addLayer(layer);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(opener.printGraphics.graphics, dojo.hitch(this, function(graphic){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printpagemap.graphics.add(graphic);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }));

 navToolbar = new esri.toolbars.Navigation(printpagemap);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the references to "opener" are the parent app.&amp;nbsp; This works great, except, as so as i do navigation on the print map, it destroys all navigation on the parent app, even though its in a new tab.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If i navigate on the parent app, the map the is updated is on the print page only!!! I.e. the zoom slider moves in on the parent app but its map does not update, the map in the other tab does!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also graphics become completely buggered.&amp;nbsp; My guess is i am cross naming somewhere, but since the printmap has a completely different id i thought the would be independent?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please help, thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 13:42:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363858#M33764</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-10-13T13:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behavior with two maps in separate windows (tabs) - seeing each others nav ev</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363859#M33765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;okay even more odd&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;even with navigation disabled on the new map (window.open), all navigation is broken on the parent and occurs on the child.&amp;nbsp; If i close the child tab it nukes my parent (map is null) .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;anyone?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 17:05:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363859#M33765</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-10-13T17:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behavior with two maps in separate windows (tabs) - seeing each others nav ev</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363860#M33766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have similar functionality in the Basic Viewer template and I can't reproduce the issue there. Here's a link to an application built on the template. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://apps.arcgis.com/hosted/OnePane/basicviewer/index.html?appid=6674f8465fc7479a91dffb366376e1cb"&gt;http://apps.arcgis.com/hosted/OnePane/basicviewer/index.html?appid=6674f8465fc7479a91dffb366376e1cb&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have a url for your app?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 17:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363860#M33766</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2011-10-13T17:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behavior with two maps in separate windows (tabs) - seeing each others nav ev</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363861#M33767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kelly, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Can you send me the source code? That is exactly what I want to do.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 17:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363861#M33767</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-10-13T17:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behavior with two maps in separate windows (tabs) - seeing each others nav ev</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363862#M33768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can download the source code on ArcGIS.com. Here's the link to the template, scroll down to the bottom and you'll find the download link in the Code Attachment section:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=89db99ee00834c85b3f9284d9e81c964"&gt;http://www.arcgis.com/home/item.html?id=89db99ee00834c85b3f9284d9e81c964&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 17:30:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363862#M33768</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2011-10-13T17:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behavior with two maps in separate windows (tabs) - seeing each others nav ev</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363863#M33769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;We have similar functionality in the Basic Viewer template and I can't reproduce the issue there. Here's a link to an application built on the template. &lt;BR /&gt;&lt;A href="http://apps.arcgis.com/hosted/OnePane/basicviewer/index.html?appid=6674f8465fc7479a91dffb366376e1cb"&gt;http://apps.arcgis.com/hosted/OnePane/basicviewer/index.html?appid=6674f8465fc7479a91dffb366376e1cb&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Do you have a url for your app?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Well using your print page i was able to solve my issue, now I have to figure out why.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To do it, however, I had to use the &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://apps.arcgis.com/sharing/tools/print"&gt;http://apps.arcgis.com/sharing/tools/print&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;page.&amp;nbsp; Am I allowed to do this, or can I get the code so I can host it locally?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 17:46:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363863#M33769</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-10-13T17:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Odd behavior with two maps in separate windows (tabs) - seeing each others nav ev</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363864#M33770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kelly, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I have this working nearly perfectly using the sample provided, however, does it not support graphics?&amp;nbsp; If i can get the graphics fixed, it would be a huge milestone for us.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 13:19:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/odd-behavior-with-two-maps-in-separate-windows/m-p/363864#M33770</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-10-17T13:19:02Z</dc:date>
    </item>
  </channel>
</rss>

