<?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 Center info window using AGOL summary viewer template in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-info-window-using-agol-summary-viewer/m-p/432429#M39871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SO I have created several online maps using the most recent version of the Summary map viewer on GitHub.&amp;nbsp; Each of these viewers is then embeded into a web page.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue I am having is that when the user clicks on a point, the info window opens witht the correct information, but it is not recentering on the map when clicked.&amp;nbsp; So if the user clicks on a point near the edge of the map, the window opens, but the majority of the window does not show because it falls outside of the map window.&amp;nbsp; For the user to then see the info window they have to pan the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What snippet of JS do I need to add to the code to get it to recenter when the user clicks on a point?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Feb 2015 23:38:33 GMT</pubDate>
    <dc:creator>ChristianSmith</dc:creator>
    <dc:date>2015-02-26T23:38:33Z</dc:date>
    <item>
      <title>Center info window using AGOL summary viewer template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-info-window-using-agol-summary-viewer/m-p/432429#M39871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SO I have created several online maps using the most recent version of the Summary map viewer on GitHub.&amp;nbsp; Each of these viewers is then embeded into a web page.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue I am having is that when the user clicks on a point, the info window opens witht the correct information, but it is not recentering on the map when clicked.&amp;nbsp; So if the user clicks on a point near the edge of the map, the window opens, but the majority of the window does not show because it falls outside of the map window.&amp;nbsp; For the user to then see the info window they have to pan the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What snippet of JS do I need to add to the code to get it to recenter when the user clicks on a point?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 23:38:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/center-info-window-using-agol-summary-viewer/m-p/432429#M39871</guid>
      <dc:creator>ChristianSmith</dc:creator>
      <dc:date>2015-02-26T23:38:33Z</dc:date>
    </item>
  </channel>
</rss>

