<?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: Is it possible to center the infoWindow? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74902#M6789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I do not. Is there enough space for the popup and the map point to show? Maybe try to decrease the size of the infowindow some.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2017 16:05:32 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-02-10T16:05:32Z</dc:date>
    <item>
      <title>Is it possible to center the infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74896#M6783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an infoWindow that contains an iFrame with a chart image generated by a GP tool. It's fairly large 640 x 680 pixels. It tends to go off the edges of the visible map. I've seen a lot of threads about automatically panning the map to accommodate the infoWindow. I'm wondering if it's possible to just have the infoWindow popup in the middle of the screen, regardless of where the click point is?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 15:54:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74896#M6783</guid>
      <dc:creator>LloydBronn</dc:creator>
      <dc:date>2017-02-09T15:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to center the infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74897#M6784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lloyd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The popup has a method called reposition that you should use:&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/3/jsapi/popup-amd.html#reposition" title="https://developers.arcgis.com/javascript/3/jsapi/popup-amd.html#reposition"&gt;https://developers.arcgis.com/javascript/3/jsapi/popup-amd.html#reposition&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 16:00:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74897#M6784</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-02-09T16:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to center the infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74898#M6785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Will this also work for an infoWindow? I noticed that when I first click a point, the infoWindow automatically positions itself above, below, or beside the point based on where it is in the map. After I run the GP tool and click the result link, the new infoWindow pops up,&amp;nbsp;it's always above the point and it's usually going off the screen. Could it be happening because I resize it to accommodate the iFrame?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried using &lt;STRONG&gt;window.map.infoWindow.show(evt.mapPoint);&amp;nbsp;&lt;/STRONG&gt;but that didn't help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 16:25:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74898#M6785</guid>
      <dc:creator>LloydBronn</dc:creator>
      <dc:date>2017-02-09T16:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to center the infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74899#M6786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Llyod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Definitely it is because you resize the infoWindow. BTW. the map.infoWindow by default is a Popup dijit, so yes map.infoWindow.reposition(); will work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 17:05:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74899#M6786</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-02-09T17:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to center the infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74900#M6787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. I tried it, and it's still above the point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;window&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;infoWindow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;resize&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;640&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;660&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
window&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;infoWindow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;setContent&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
window&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;infoWindow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;reposition&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74900#M6787</guid>
      <dc:creator>LloydBronn</dc:creator>
      <dc:date>2021-12-10T22:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to center the infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74901#M6788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any thoughts as to why&amp;nbsp;&lt;STRONG&gt;map.&lt;/STRONG&gt;&lt;STRONG&gt;infoWindow.reposition();&amp;nbsp;&lt;/STRONG&gt;might not be&amp;nbsp;working?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 15:52:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74901#M6788</guid>
      <dc:creator>LloydBronn</dc:creator>
      <dc:date>2017-02-10T15:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to center the infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74902#M6789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I do not. Is there enough space for the popup and the map point to show? Maybe try to decrease the size of the infowindow some.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 16:05:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74902#M6789</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-02-10T16:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to center the infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74903#M6790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there is room. I don't need the map point to show once the infowindow is up, I just need the infowindow to behave like it's supposed to. Not always above the point, regardless of where the point is on the map. I can't really make it any smaller, because I need the chart to be visible/readable in the infowindow. Maybe this is a bug?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 17:13:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74903#M6790</guid>
      <dc:creator>LloydBronn</dc:creator>
      <dc:date>2017-02-10T17:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to center the infoWindow?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74904#M6791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I've discovered that the infoWindow won't reposition if it is wider than 550px. This is unfortunate because I need it to be 640px for the chart to be legible. I've also noticed that when the window is full size (640, 660), if zoom in after the chart window is displayed, it moves into the full view of the map. I'm wondering if this is a set limit or if it's just a bug.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 14:49:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-it-possible-to-center-the-infowindow/m-p/74904#M6791</guid>
      <dc:creator>LloydBronn</dc:creator>
      <dc:date>2017-02-13T14:49:06Z</dc:date>
    </item>
  </channel>
</rss>

