JS API v4.0 beta1

3D

  • SceneServiceLayer
  • 3D symbols
  • Support for z and m values
//2D mapping using a MapView
function (Map, MapView){
  map = new Map({
    basemap: "topo"
  });

  view = new MapView({
    container: "viewDiv",
    map: map
  });
}
//3D mapping using a SceneView
 function (Map, SceneView){
   map = new Map({
     basemap: "topo"
   });

   view = new SceneView({
     container: "viewDiv",
     map: map,
     scale: 240000000
   }
}

Many breaking changes

// v3.x
map.on("load", function() {
    // map initialized
});


// v4.0
map.then( function() {
    // map initialized
});

Promises

4.0beta1

PUBLIC BETA

Around end of July 2015

JS API v4.0beta1

By Andy G

JS API v4.0beta1

  • 1,560