On the Developers web page at:
Build a new map—ArcGIS Runtime SDK for .NET | ArcGIS for Developers
is the following topic:
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"?
Solved! Go to Solution.
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
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