Javascript 3.4 API map Create in a disconnected network

514
0
04-15-2013 06:05 AM
CubbySkeete
Esri Contributor
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"
        });
      }
0 Kudos
0 Replies