Wgs84 basemap won't display in Scene

858
3
02-10-2017 09:24 AM
DavidHope
New Contributor III

I'm trying to load a Wgs84 based basemap and display it in a SceneView.

For example, trying to use this basemap:  http://services.arcgisonline.com/arcgis/rest/services/ESRI_Imagery_World_2D/MapServer

My code looks like this:

var server = new Uri("http://services.arcgisonline.com/arcgis/rest/services/ESRI_Imagery_World_2D/MapServer");
var sceneLayer = new ArcGISTiledLayer(server);

await sceneLayer.LoadAsync();

myScene = new Scene(new Basemap(sceneLayer));
‍‍‍‍‍‍

Yields a blank globe.

This same map loads and displays fine on a MapView.

Also, if I use a WebMercator based map like this:  http://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer

both the MapView and SceneView are fine.

Any help?

0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor

We currently only support Web Mercator tiled layers. You can try using this for basemap layer instead: World_Imagery (MapServer) 

In XAML

        <esri:SceneView x:Name="MySceneView">
            <esri:Scene>
                <esri:ArcGISTiledLayer Source="http://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer" />
            </esri:Scene>
        </esri:SceneView>

Or in code-behind.

MySceneView.Scene = new Scene(Basemap.CreateImagery());
0 Kudos
DavidHope
New Contributor III

That's very disappointing. Any idea when this support will become available?

Unfortunately, I'm trying to use a map off of a private server, which is only has the older WGS84 maps.

0 Kudos
MichaelBranscomb
Esri Frequent Contributor

Hi David,

The ability to use WGS84 basemaps in a Scene/SceneView is on the roadmap for an upcoming release. I'm unable to give a specific date yet.

Cheers

Mike

0 Kudos