SceneView setAtmosphereEffect method bug

243
0
11-29-2018 06:06 PM
chenyangyang
New Contributor

as follows:

mSceneView.setAtmosphereEffect( AtmosphereEffect.REALISTIC );

When the map is initialized like this, only the labels are displayed.

ArcGISScene arcGISScene = new ArcGISScene();
//Elevation
ArcGISTiledElevationSource elevationSource = new ArcGISTiledElevationSource("http://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer");
arcGISScene.getBaseSurface().getElevationSources().add(elevationSource);
//BasemapLayer
arcGISScene.setBasemap( Basemap.createImageryWithLabels() );
mSceneView.setScene(arcGISScene);

Solution:
mSceneView.setAtmosphereEffect( AtmosphereEffect.HORIZON_ONLY );
0 Kudos
0 Replies