AnsweredAssumed Answered

Change spatial reference of map

Question asked by mvrticharcdata-cz-esridist Employee on Jul 21, 2015
Latest reply on Jul 26, 2015 by mvrticharcdata-cz-esridist

In JSAPI v3.x it's not possible to change spatial reference of a map which has been already initialized (as a workaround we used to create a new map, set extent with the required spatial reference and copy all layers from the original map to the new one).

We do this because we need to support switching basemaps with different coordinate systems in the same app.

 

Is it possible to change spatial reference of a map in JSAPI v4.0?

Outcomes