Combining Layers in a Basemap

507
1
Jump to solution
11-01-2017 10:20 AM
MichaelThompson
New Contributor III

On the Developers web page at:

Build a new map—ArcGIS Runtime SDK for .NET | ArcGIS for Developers 

is the following topic:

Combining layers into one basemap

You can also combine a number of layers to create a single basemap as long as these layers have the same spatial reference

However, the two ArcGIS Online layers included in the sample code under that topic appear to have different Spatial Reference WKId's. So, what constitutes "same spatial reference"?

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
MichaelBranscomb
Esri Frequent Contributor

Hi,

That's an error in the documentation - I've submitted a bug to fix the doc to clarify the explanation.

The doc should state that both layers must be capable of being displayed in the same spatial reference. Either the layer is already in the specific spatial reference or it can be re-projected to that spatial reference.

In the code example in the doc, the first basemap layer will establish the spatial reference of the map, making it 3857. The second basemap layer, being a map image layer, will be requested from the map server in spatial reference 3857. 

Cheers

Mike

View solution in original post

1 Reply
MichaelBranscomb
Esri Frequent Contributor

Hi,

That's an error in the documentation - I've submitted a bug to fix the doc to clarify the explanation.

The doc should state that both layers must be capable of being displayed in the same spatial reference. Either the layer is already in the specific spatial reference or it can be re-projected to that spatial reference.

In the code example in the doc, the first basemap layer will establish the spatial reference of the map, making it 3857. The second basemap layer, being a map image layer, will be requested from the map server in spatial reference 3857. 

Cheers

Mike