<?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 How can I make the mouse wheel zoom in/out - javascript API 3.23? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-make-the-mouse-wheel-zoom-in-out/m-p/217656#M20217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the sandbox of the basic map sample and added four lines that I though covered all the bases.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;var map;&lt;/P&gt;&lt;P&gt;require(["esri/map", "dojo/domReady!"], function(Map) {&lt;BR /&gt;map = new Map("map", {&lt;BR /&gt;&lt;SPAN&gt;basemap: "topo", //For full list of pre-defined basemaps, navigate to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Farcg.is%2F1JVo6Wd" rel="nofollow" target="_blank"&gt;http://arcg.is/1JVo6Wd&lt;/A&gt;&lt;BR /&gt;center: [-122.45, 37.75], // longitude, latitude&lt;BR /&gt;zoom: 13&lt;BR /&gt;});&lt;BR /&gt; &lt;STRONG&gt;map.enableScrollWheel();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; map.enableScrollWheelZoom();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; map.isScrollWheel = true;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; map.isScrollWheelZoom = true;&lt;/STRONG&gt;&lt;BR /&gt;});&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing works, though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The wheel works only to pan the map up and down.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is on&amp;nbsp;Chrome and FIrefox&amp;nbsp;browsers on a Mac, in case there are platform&amp;nbsp;specific bugs. &amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the magic call I am missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2018 19:04:26 GMT</pubDate>
    <dc:creator>NathanMellor</dc:creator>
    <dc:date>2018-04-16T19:04:26Z</dc:date>
    <item>
      <title>How can I make the mouse wheel zoom in/out - javascript API 3.23?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-make-the-mouse-wheel-zoom-in-out/m-p/217656#M20217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the sandbox of the basic map sample and added four lines that I though covered all the bases.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;var map;&lt;/P&gt;&lt;P&gt;require(["esri/map", "dojo/domReady!"], function(Map) {&lt;BR /&gt;map = new Map("map", {&lt;BR /&gt;&lt;SPAN&gt;basemap: "topo", //For full list of pre-defined basemaps, navigate to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Farcg.is%2F1JVo6Wd" rel="nofollow" target="_blank"&gt;http://arcg.is/1JVo6Wd&lt;/A&gt;&lt;BR /&gt;center: [-122.45, 37.75], // longitude, latitude&lt;BR /&gt;zoom: 13&lt;BR /&gt;});&lt;BR /&gt; &lt;STRONG&gt;map.enableScrollWheel();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; map.enableScrollWheelZoom();&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; map.isScrollWheel = true;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; map.isScrollWheelZoom = true;&lt;/STRONG&gt;&lt;BR /&gt;});&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing works, though.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The wheel works only to pan the map up and down.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is on&amp;nbsp;Chrome and FIrefox&amp;nbsp;browsers on a Mac, in case there are platform&amp;nbsp;specific bugs. &amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the magic call I am missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 19:04:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-make-the-mouse-wheel-zoom-in-out/m-p/217656#M20217</guid>
      <dc:creator>NathanMellor</dc:creator>
      <dc:date>2018-04-16T19:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I make the mouse wheel zoom in/out - javascript API 3.23?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-make-the-mouse-wheel-zoom-in-out/m-p/217657#M20218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;The only answer that I know is to hold the shift key down while using the mouse wheel and the map will zoom in and out. As a normal PC user, I find myself&amp;nbsp;frustrated with trying to use a Mac so this really hits home with me. The answer is to&amp;nbsp;get beyond the idea that because you can do something on a PC, that you should also expect to do this on a Mac.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 01:34:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-make-the-mouse-wheel-zoom-in-out/m-p/217657#M20218</guid>
      <dc:creator>JSchroeder</dc:creator>
      <dc:date>2018-04-27T01:34:27Z</dc:date>
    </item>
  </channel>
</rss>

