AnsweredAssumed Answered

Load ArcGISSceneLayer failed in 100.1

Question asked by xipeng on Aug 17, 2017


I want to load a ArcGISSceneLayer by ArcGIS Runtime .Net 100.1,My SceneLayer's url is… /Layers/0

but Load ArcGISSceneLayer failed, My code is as follows:

string url = @"";
var dddBuildingsLayer01 = new ArcGISSceneLayer(new System.Uri(url));

await dddBuildingsLayer01.LoadAsync();

dddBuildingsLayer01.Loaded += (s, f) => {
if (dddBuildingsLayer01.LoadStatus == Esri.ArcGISRuntime.LoadStatus.Loaded)
MapPoint mp = dddBuildingsLayer01.FullExtent.Extent.GetCenter();
MapPoint newMapoint = new MapPoint(mp.X, mp.Y, 5000, pSLayer.SpatialReference);
Camera Camera = new Camera(newMapoint, 90, 0, 0);
this.mySceneView.SetViewpointCameraAsync(Camera, TimeSpan.FromSeconds(5));



If I use can be loaded successfully Why is that?

What's the difference between these two urls?


Thank you for your reply