<?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: Zoom out tool - why do you have to draw a box? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-out-tool-why-do-you-have-to-draw-a-box/m-p/503826#M46788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Events: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/inside_events.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/inside_events.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
function init() {
...
var mapOnClick_connect = dojo.connect(map, "onClick", mapOnClick);
...
}

function mapOnClick() {
&amp;nbsp; var extent = map.extent.expand(2);
&amp;nbsp; map.setExtent(extent);
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 22:06:36 GMT</pubDate>
    <dc:creator>AxelSchaefer</dc:creator>
    <dc:date>2021-12-11T22:06:36Z</dc:date>
    <item>
      <title>Zoom out tool - why do you have to draw a box?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-out-tool-why-do-you-have-to-draw-a-box/m-p/503823#M46785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://help.arcgis.com/EN/webapi/javascript/arcgis/demos/toolbar/toolbar_navigation.html"&gt;http://help.arcgis.com/EN/webapi/javascript/arcgis/demos/toolbar/toolbar_navigation.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Zoom out tool - why do you have to draw a box?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see it's useful to be able to control how far you zoom out by drawing the box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However when you click, nothing happens. This is counter to every other zoom out tool out there and users will be surprised by this. Drawing a box for zoom out is not intuitive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why can't it be done so a click zooms out by a pre-set amount, yet drawing a box allows the user to control how far you zoom out? Then you have the best of both.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 07:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-out-tool-why-do-you-have-to-draw-a-box/m-p/503823#M46785</guid>
      <dc:creator>JamesB</dc:creator>
      <dc:date>2010-11-11T07:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom out tool - why do you have to draw a box?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-out-tool-why-do-you-have-to-draw-a-box/m-p/503824#M46786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The default map navigation modes are explained here: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/intro_navigation.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/intro_navigation.htm&lt;/A&gt;&lt;SPAN&gt;. You can change the map events and bind them to other map navigation methods.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Personally I don't like the zoomin-by-point / zoom-out-by-point navigation. Dragging a rectangle is faster and convenient to the usage in desktop applications.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 10:59:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-out-tool-why-do-you-have-to-draw-a-box/m-p/503824#M46786</guid>
      <dc:creator>AxelSchaefer</dc:creator>
      <dc:date>2010-11-11T10:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom out tool - why do you have to draw a box?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-out-tool-why-do-you-have-to-draw-a-box/m-p/503825#M46787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you know if anyone's actually implemented a single click to zoom out handler? Would be great to add this in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not a matter of personal favourites, its user expectations. I haven't seen any other software package where a single click in "Zoom Out" mode does nothing. The users will expect it to do something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Nov 2010 13:23:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-out-tool-why-do-you-have-to-draw-a-box/m-p/503825#M46787</guid>
      <dc:creator>JamesB</dc:creator>
      <dc:date>2010-11-18T13:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom out tool - why do you have to draw a box?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-out-tool-why-do-you-have-to-draw-a-box/m-p/503826#M46788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Events: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/inside_events.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp_start.htm#jshelp/inside_events.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
function init() {
...
var mapOnClick_connect = dojo.connect(map, "onClick", mapOnClick);
...
}

function mapOnClick() {
&amp;nbsp; var extent = map.extent.expand(2);
&amp;nbsp; map.setExtent(extent);
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:06:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-out-tool-why-do-you-have-to-draw-a-box/m-p/503826#M46788</guid>
      <dc:creator>AxelSchaefer</dc:creator>
      <dc:date>2021-12-11T22:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom out tool - why do you have to draw a box?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-out-tool-why-do-you-have-to-draw-a-box/m-p/503827#M46789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cool, thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 08:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoom-out-tool-why-do-you-have-to-draw-a-box/m-p/503827#M46789</guid>
      <dc:creator>JamesB</dc:creator>
      <dc:date>2010-11-23T08:28:04Z</dc:date>
    </item>
  </channel>
</rss>

