AnsweredAssumed Answered

Problem with tile layer which is loaded from package

Question asked by strukm on Jan 26, 2017
Latest reply on Mar 13, 2017 by Faiyaz_Khan

Hi

I encountered a problem with tile layer.

I initialized map with spatial reference and am trying to display tile map layer from a *.mpk file.

Layer and a map has the same spatial reference  WGS 84 (4326 WKID), but layer not displayed.

If i Initialize the map without defining the spatial reference, a layer is displayed.

 

var map = new Map(SpatialReference.Create(4326));

var layer = new ArcGISTiledLayer(new Uri(source));

map.Basemap.BaseLayers.Add(layer );

 EsriMapView.Map = map;

 

Does anyone encountered this problem?

 

Thanks for your help

Attachments

Outcomes