<?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 zoomto - problem with points in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-zoomto-problem-with-points/m-p/144426#M13455</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Please have a look at this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gis.stackexchange.com/questions/28017/arcgis-javascript-api-override-infowindow-zoom-to-function-or-fire-a-second-e?rq=1"&gt;http://gis.stackexchange.com/questions/28017/arcgis-javascript-api-override-infowindow-zoom-to-function-or-fire-a-second-e?rq=1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;if you would like to remove the Zoom To from the info window you can use the below code in the &amp;lt;style&amp;gt; tag&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;.esriPopup .actionsPane .zoomTo {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; display: none; }&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If required you can add your custom button to perform the zoom to actions.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Manish&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks - I disabled the zoom to box using the css you provided.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interestingly - in another web app I have that also uses a point layer, the zoomto works fine - ie: it both pans to the point and zooms in. I'm unsure as to why the default behaviour on this point layer in this web page is only panning.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Nov 2013 20:29:07 GMT</pubDate>
    <dc:creator>NickWeinmann</dc:creator>
    <dc:date>2013-11-06T20:29:07Z</dc:date>
    <item>
      <title>Infowindow zoomto - problem with points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-zoomto-problem-with-points/m-p/144424#M13453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Default behaviour of the infowindow's zoomto link is to pan with a point feature, rather than zoom. I'm guessing this is because a point does not have a valid extent associated with it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I override this behaviour?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 23:19:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-zoomto-problem-with-points/m-p/144424#M13453</guid>
      <dc:creator>NickWeinmann</dc:creator>
      <dc:date>2013-10-24T23:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Infowindow zoomto - problem with points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-zoomto-problem-with-points/m-p/144425#M13454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Default behaviour of the infowindow's zoomto link is to pan with a point feature, rather than zoom. I'm guessing this is because a point does not have a valid extent associated with it. &lt;BR /&gt;&lt;BR /&gt;How can I override this behaviour?&lt;BR /&gt;&lt;BR /&gt;Nick&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please have a look at this link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gis.stackexchange.com/questions/28017/arcgis-javascript-api-override-infowindow-zoom-to-function-or-fire-a-second-e?rq=1"&gt;http://gis.stackexchange.com/questions/28017/arcgis-javascript-api-override-infowindow-zoom-to-function-or-fire-a-second-e?rq=1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you would like to remove the Zoom To from the info window you can use the below code in the &amp;lt;style&amp;gt; tag&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.esriPopup .actionsPane .zoomTo {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; display: none; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If required you can add your custom button to perform the zoom to actions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Manish&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 09:43:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-zoomto-problem-with-points/m-p/144425#M13454</guid>
      <dc:creator>ManishkumarPatel</dc:creator>
      <dc:date>2013-10-25T09:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Infowindow zoomto - problem with points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-zoomto-problem-with-points/m-p/144426#M13455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Please have a look at this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gis.stackexchange.com/questions/28017/arcgis-javascript-api-override-infowindow-zoom-to-function-or-fire-a-second-e?rq=1"&gt;http://gis.stackexchange.com/questions/28017/arcgis-javascript-api-override-infowindow-zoom-to-function-or-fire-a-second-e?rq=1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;if you would like to remove the Zoom To from the info window you can use the below code in the &amp;lt;style&amp;gt; tag&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;.esriPopup .actionsPane .zoomTo {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; display: none; }&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If required you can add your custom button to perform the zoom to actions.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Manish&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks - I disabled the zoom to box using the css you provided.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interestingly - in another web app I have that also uses a point layer, the zoomto works fine - ie: it both pans to the point and zooms in. I'm unsure as to why the default behaviour on this point layer in this web page is only panning.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 20:29:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-zoomto-problem-with-points/m-p/144426#M13455</guid>
      <dc:creator>NickWeinmann</dc:creator>
      <dc:date>2013-11-06T20:29:07Z</dc:date>
    </item>
  </channel>
</rss>

