AnsweredAssumed Answered

Problem with non-geographic raster layer

Question asked by strukm on Feb 24, 2017
Latest reply on Mar 1, 2017 by strukm

Does .NET Runtime 100 support non-geographic (without defined spatial reference) raster layers? 

I tried to display an image as a base layer

MapView.Map = new Map();

MapView.Map.Basemap.BaseLayers.Add(new RasterLayer(@"D:\land.png"));

After raster layer is successfully loaded, layer has spatial reference with wkid = 0.

 

Also, can I set spatial reference with wkid = 0 when I initialize Map?

MapView.Map = new Map(SpatialReference.Create(0));

 

 

Thank you in advance for your help

Outcomes