map = new esri.Map("map", { extent: esri.geometry.geographicToWebMercator(new esri.geometry.Extent(-125.90, 44.60, -114.65, 50.22, new esri.SpatialReference({wkid:4326}))), showInfoWindowOnClick:false });
map = new esri.Map("map", { enableScrollWheelZoom: true, showInfoWindowOnClick:false });
Thanks Kelly! I appreciate the tip. Unfortunately it didn't work. I added that to my init() function but the infoWindow still pops up.
FWIW, I wonder if this is a related issue - I can't get my map to enable zooming with the scroll wheel either. It appears that my map settings are having no effect whatsoever.map = new esri.Map("map", { enableScrollWheelZoom: true, showInfoWindowOnClick:false });
Any ideas as to why these settings are not being honored?
enableScrollWheelZoom isn't set via the Map's constructor. Try this after the map is created.
map.enableScrollWheelZoom();
That was my original code. That doesn't work either.
dojo.connect(map, "onLoad", function() { map.enableScrollWheelZoom(); });