Hi,
We have given up on using the random machines that don’t seem to want to display maps, but now we have another problem!
We created a WPF project using the custom TPK map absolutely fine, however I’m now using a Windows Store App blank project. I tried using the same code behind:
public MainPage()
{
this.InitializeComponent();
//adding layer to map
Layer bkgLayer = new ArcGISLocalTiledLayer(@"Assets\OSBasemapPackage.tpk");
bkgLayer.ID = "MainLayer";
MyMap.Layers.Add(bkgLayer);
}
Which worked fine within WPF, however this time we just get a grey map. Can you see anything wrong with the syntax? We have tried multiple directories however it doesn’t throw any errors on build/pre-build.
Thanks