I used the sandbox of the basic map sample and added four lines that I though covered all the bases.
<script>
var map;
require(["esri/map", "dojo/domReady!"], function(Map) {
map = new Map("map", {
basemap: "topo", //For full list of pre-defined basemaps, navigate to http://arcg.is/1JVo6Wd
center: [-122.45, 37.75], // longitude, latitude
zoom: 13
});
map.enableScrollWheel();
map.enableScrollWheelZoom();
map.isScrollWheel = true;
map.isScrollWheelZoom = true;
});
</script>
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?