i fixed that with this code: require(["dojo/ready","esri/map", "dojo/domReady!"], function (ready,Map) {
ready(function () {
map = new Map("map", {
basemap: "topo",
center: [-122.45,37.75], // long, lat
zoom: 13,
sliderStyle: "small"
});
});
});
... View more