<?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: Capture Zoomto button's Click from map.infowindow in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-zoomto-button-s-click-from-map-infowindow/m-p/416212#M38296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks Manish . Also I had another question . Is it possible to capture the next feature on click and previous feature on click event in map.infoWindow . &lt;BR /&gt;&lt;BR /&gt;IS it possible to capture it ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are welcome. Please help to mark this thread as answered if your issue has been resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also regarding the next and previous feature. Do you mean to select the feature on the map which corresponds to the next record in the attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sorry I didnt quite get what you mean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help to provide some detailed scenario.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Feb 2014 02:39:24 GMT</pubDate>
    <dc:creator>ManishkumarPatel</dc:creator>
    <dc:date>2014-02-14T02:39:24Z</dc:date>
    <item>
      <title>Capture Zoomto button's Click from map.infowindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-zoomto-button-s-click-from-map-infowindow/m-p/416209#M38293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone please show me how to capture the zoom-to click event which is available in the map.info window ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 16:47:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-zoomto-button-s-click-from-map-infowindow/m-p/416209#M38293</guid>
      <dc:creator>VikramS</dc:creator>
      <dc:date>2014-02-12T16:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Zoomto button's Click from map.infowindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-zoomto-button-s-click-from-map-infowindow/m-p/416210#M38294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Vikram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can disconnect the ESRI Zoom To function like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.disconnect(map.infoWindow._eventConnections[4]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This assume your var map = esri.Map(). The the fifth element in the _eventConnections array is the zoom to event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you can attach your own events to the Zoom To with jQuery or dojo:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// Add custom zoom To&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$('.action.zoomTo').click(function () { alert('First!'); });&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$('.action.zoomTo').click(function () { alert('Second!'); });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that the new connection can only be made after the an InfoTemplate is instantiated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Manish&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 01:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-zoomto-button-s-click-from-map-infowindow/m-p/416210#M38294</guid>
      <dc:creator>ManishkumarPatel</dc:creator>
      <dc:date>2014-02-13T01:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Zoomto button's Click from map.infowindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-zoomto-button-s-click-from-map-infowindow/m-p/416211#M38295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Manish . Also I had another question . Is it possible to capture the next feature on click and previous feature on click event in map.infoWindow . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IS it possible to capture it ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2014 19:38:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-zoomto-button-s-click-from-map-infowindow/m-p/416211#M38295</guid>
      <dc:creator>VikramS</dc:creator>
      <dc:date>2014-02-13T19:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Capture Zoomto button's Click from map.infowindow</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-zoomto-button-s-click-from-map-infowindow/m-p/416212#M38296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks Manish . Also I had another question . Is it possible to capture the next feature on click and previous feature on click event in map.infoWindow . &lt;BR /&gt;&lt;BR /&gt;IS it possible to capture it ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are welcome. Please help to mark this thread as answered if your issue has been resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also regarding the next and previous feature. Do you mean to select the feature on the map which corresponds to the next record in the attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sorry I didnt quite get what you mean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help to provide some detailed scenario.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 02:39:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/capture-zoomto-button-s-click-from-map-infowindow/m-p/416212#M38296</guid>
      <dc:creator>ManishkumarPatel</dc:creator>
      <dc:date>2014-02-14T02:39:24Z</dc:date>
    </item>
  </channel>
</rss>

