AnsweredAssumed Answered

How to get the spatialReference of a Basemap

Question asked by nschmidt on Nov 16, 2017
Latest reply on Nov 16, 2017 by rscheitlin

Is there a way to get access to the spatialReference of the basemap?  This seems like it should be simple.  I should be able to create the basemap from the portalId and check the spatial reference to predict whether the load will fail.  I have tried checking baselayers, I have tried calling .load on the basemap and .load on the baselayers then checking the spatialReference.   It is still null.

 

Will Esri eventually handle changing spatial references of a mapview when a user chooses a basemap that is in a different spatial reference from the currently loaded mapView?

Outcomes