Opening a TPK in a windows store application.

4243
3
01-08-2015 07:47 AM
JaredWheatley
New Contributor

Hi All,

 

I'm trying to go about Opening a TPK file (which works fine in WPF), but in a windows store app, and can't find a way how, and very very little resources online.  I've got the Map view with a map set up in a grid with XAML and code behind that *SHOULD* assign the TPK to the map, but I just get a grey screen. I'm using the ArcGIS SDK for .NET, Any help would be well recieved,

 

Thanks

0 Kudos
3 Replies
AnttiKajanus1
Regular Contributor II

Hey,

Have you checked sample? How are you storing the TPK, remember that Windows Store has limited access to the hard drive.

JaredWheatley
New Contributor

Antti Kajanus‌ With that code I either get a error if i change up the file path, or when it is accepted a grey screen I've tried storing on D:\ drive, and in the project file (local), both to no avail if it makes a different, even trying to use the hello world shows a grey screen.

Thanks for the help

0 Kudos
AnttiKajanus1
Regular Contributor II

Can you provide a repro with data so I can have a look?

0 Kudos