AnsweredAssumed Answered

How can I make the mouse wheel zoom in/out - javascript API 3.23?

Question asked by Crittermap on Apr 16, 2018
Latest reply on Apr 26, 2018 by JSchroeder-esristaff

I used the sandbox of the basic map sample and added four lines that I though covered all the bases.  


var map;

require(["esri/map", "dojo/domReady!"], function(Map) {
map = new Map("map", {
basemap: "topo", //For full list of pre-defined basemaps, navigate to
center: [-122.45, 37.75], // longitude, latitude
zoom: 13
map.isScrollWheel = true;
map.isScrollWheelZoom = true;


Nothing works, though. 

The wheel works only to pan the map up and down. 


This is on Chrome and FIrefox browsers on a Mac, in case there are platform specific bugs.  

What is the magic call I am missing?