O'Reilly logo

Learning ArcGIS Runtime SDK for .NET by Ron Vincent

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

From 2D to 3D

Turning an ArcGIS Runtime app from 2D to 3D requires very little effort on your part. In fact, to go from 2D to 3D, you only have to know that there are equivalents of the MapView and Map classes in 3D. They are called the SceneView and Scene objects, respectively. Therefore, all that is is necessary is to change the code to this:

<esri:MapView x:Name="MyMapView>
    <esri:Map x:Name="theMap" >

    </esri:Map>
</esri:MapView>

The preceding code is to be changed to this:

<esri:SceneView x:Name="MySceneView"   
    <esri:Scene x:Name="theScene" >

    </esri:Scene>
</esri:SceneView>

That's it. All that changed is that we used a SceneView control instead of MapView and a Scene control instead of Map. That was pretty easy, right? However, if you run the app ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required