AnsweredAssumed Answered

3D, SceneView with our ArcGISTiledLayer

Question asked by chuckyboy81070 on Dec 10, 2015
Latest reply on Dec 14, 2015 by cotter80

Hello,

 

We have an ArcGISTiledLayer in WebMercator.  When testing, I cannot get it to appear in the SceneView.  The simple code is below.  Am I missing something simple?

 

Also, I cannot find a sample showing how to use a custom tiled layer with the new API beta.  Can someone direct me?

 

    require([
      "esri/Map",
   "esri/layers/ArcGISTiledLayer",
      "esri/views/SceneView",
      "dojo/domReady!"
    ], function(Map, ArcGISTiledLayer, SceneView) {
  
      var map = new Map({
   basemap: "satellite"
      });
   
   var cppjLayer = new ArcGISTiledLayer({
          url: "http://<our-arcgis-server>/arcgis/rest/services/CPPJ/CPPJ_2014Imagery/MapServer",
          id: "2014Aerials"
        });
   
   map.add(cppjLayer); 
   
      var view = new SceneView({
        container: "viewDiv",
        map: map
      });
  
    });

Outcomes