map = new Map("map", {
//basemap: "satellite",
//center: [-85.743, 38.256],
//zoom: 17,
slider: true
});
basemap = new esri.layers.ArcGISTiledMapServiceLayer(basemap);
map.addLayer(basemap);
map.centerAndZoom(new Point(-94.75290067627297, 39.034671990514816), 17);
var mapId = "http://services.maps.lt/mapsk_services/cl_kpqdwnyx/mapslt/MapServer";
var mapDeferred = esri.arcgis.utils.createMap(mapId, "map_canvas", {
mapOptions: { slider: true, nav: false }
});
mapDeferred.then(function (response) {
map = response.map;
initialLoad();
});