AnsweredAssumed Answered

Tile Layer's SpatialReference wkid property gives null pointer exception?

Question asked by vwadhwa52 on Jun 11, 2018
Latest reply on Jun 11, 2018 by mnielsen-esristaff

When i take tile layer as a basemap, and try to retrieve it's spatial reference , it gives me Null Pointer Exception , whereas if i take raster file (tif) as base layer, I am able to get it's spatial reference same as that of map. There is a lot of confusion regarding the projection system of tile layer. How can i change the projection , so that i can see it in my MapView , coz on changing the Projection of map , the tile layer disappears. Thanks in advance