I am trying to draw satellite map with polar (Arctic) projection using ArcGIS JS API. Firstly I load default (Mercator) satellite map and it works fine. Then I change map spatialReference to polar the following way:
require([
"esri/Map",
"esri/views/MapView",
"esri/geometry/Polygon",
"esri/geometry/SpatialReference",
"esri/layers/FeatureLayer"
],
function (Map, MapView) {
var map = new Map({
basemap: "satellite"
});
var viewSpatialReference = 3995;
var centerPoint = {
x: 0,
y: 0,
spatialReference: viewSpatialReference
};
var view = new MapView({
container: "map",
map: map,
spatialReference: viewSpatialReference,
center: centerPoint,
scale: 2000
});
});
When I try to load this map in browser, I get blank map and two errors in console
[esri.views.2d.layers.TileLayerView2D] #resolve() Failed to resolve layer view (layer title: 'World Imagery', id: 'satellite-base-layer') message: "The spatial reference of this layer does not meet the requirements of the view"
dojo.js:310 [esri.views.LayerViewFactory] Failed to create view for layer 'World Imagery, id:satellite-base-layer' of type 'tile'. message: "The spatial reference of this layer does not meet the requirements of the view"
Does anyone have experience working with ArcGIS JS for Arctic region? My original idea was to redraw basic satellite map using ArcGIS; I hope it is possible.