How to set the ElevationMode on a GraphicsOverlay?

2925
1
07-16-2015 10:02 AM
OlivierROSSINI
New Contributor III

Hi,

The new ArcGIS Runtime SDK for .Net 10.2.6 provides GraphicsOverlay class to add graphics to a scene.

The online documentation specifies a ElevationMode Porperty. Display graphics in a scene—ArcGIS Runtime SDK for .NET | ArcGIS for Developers

But this property is not listed in the API Reference and is not accessible via Visual Studio.

How to use it?

Any clue?

Do I miss something?

Thanks in advance for your help.

Olivier

0 Kudos
1 Reply
AnttiKajanus1
Occasional Contributor III

Hi,

Check sample arcgis-runtime-samples-dotnet/ElevationModeSample.xaml at master · Esri/arcgis-runtime-samples-dotne...​ for usage. Basically you define SceneProperties for the GraphicsOverlays.

<esri:GraphicsLayer  ID="AbsoluteModeGraphicsLayer">
  <esri:GraphicsLayer.SceneProperties>
    <esri:LayerSceneProperties SurfacePlacement="Absolute"/>
  </esri:GraphicsLayer.SceneProperties>
</esri:GraphicsLayer>
0 Kudos