CSkeete-esristaff

Javascript 3.4 API map Create in a disconnected network

Discussion created by CSkeete-esristaff Employee on Apr 15, 2013
What is the correct way to overload the map object so that you can take advantage of new way to create a map? The new way allows you to just set the basemap property. (Example below).  Is there a way to set that to point to a Portal basemap instead of requiring access to arcgisonline?


function init() {
        var map = new esri.Map("map",{
          basemap:"topo",
          center:[-122.45,37.75], //long, lat
          zoom:13,
          sliderStyle:"small"
        });
      }

Outcomes