<?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: InfoWindow - Custom and how can i anchor it to a point while i panning in map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-custom-and-how-can-i-anchor-it-to-a/m-p/70965#M6300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;A href="https://community.esri.com/migrated-users/13790"&gt;Döring Sebastian&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;I'm researching the similar issue: create more than one Infowindow to show on map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is some guy's code: &lt;A href="http://www.cnblogs.com/deliciousExtra/p/5565787.html"&gt;codes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Create your own InfoWindow.js file is necessary I think. The path of the file &amp;nbsp;is :\xxxServer\arcgis_js_api\library\3.14\3.14\esri\dijit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2016 07:47:50 GMT</pubDate>
    <dc:creator>baohuachu3</dc:creator>
    <dc:date>2016-10-21T07:47:50Z</dc:date>
    <item>
      <title>InfoWindow - Custom and how can i anchor it to a point while i panning in map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-custom-and-how-can-i-anchor-it-to-a/m-p/70964#M6299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the samples InfoWindow Custom the InfoWindow is hidden while i panning in the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can i set it still visible at the point geometry?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tryed around to disable the code in InfoWindow.js:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;//this._eventConnections.push(dojo.connect(map, "onPanStart", this, this.hide));&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;and set it to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;this._eventConnections.push(dojo.connect(map, "onPanStart", this, this.show));&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the InfoWindow is shown, but it lost the anchor to its location pt. In the second try, i set the position back when i start panning.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;dojo.connect(map, "onPan", function () {
map.infoWindow.show(pt, map.getInfoWindowAnchor(pt));
});&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the code works, but it is not the optimal solution because, the infoWindow is not bind to the background and must jump back every time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to make the behavior of the custom InfoWindow like the other InfoWindow samples?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help on this will be appreciated!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2012 09:00:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-custom-and-how-can-i-anchor-it-to-a/m-p/70964#M6299</guid>
      <dc:creator>DöringSebastian</dc:creator>
      <dc:date>2012-03-29T09:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: InfoWindow - Custom and how can i anchor it to a point while i panning in map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-custom-and-how-can-i-anchor-it-to-a/m-p/70965#M6300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;A href="https://community.esri.com/migrated-users/13790"&gt;Döring Sebastian&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;I'm researching the similar issue: create more than one Infowindow to show on map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is some guy's code: &lt;A href="http://www.cnblogs.com/deliciousExtra/p/5565787.html"&gt;codes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Create your own InfoWindow.js file is necessary I think. The path of the file &amp;nbsp;is :\xxxServer\arcgis_js_api\library\3.14\3.14\esri\dijit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 07:47:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-custom-and-how-can-i-anchor-it-to-a/m-p/70965#M6300</guid>
      <dc:creator>baohuachu3</dc:creator>
      <dc:date>2016-10-21T07:47:50Z</dc:date>
    </item>
  </channel>
</rss>

