Hello, I am trying to add licence information to my UWP ESRI Runtime(100.5) app. Below is my code of App.xaml.cs Initialize to configure it: string clientId = "xxx"; string clientSecret = "yyy"; string licenseKey = "runtimelite,1000," + clientId + ",none," + clientSecret; ArcGISRuntimeEnvironment.SetLicense(licenseKey); ArcGISRuntimeEnvironment.Initialize(); Could someone please help me how to set it? Many Thanks!
... View more
I have implemented the following C# code for the .TPKX files: TileCache tpkxCache = new TileCache(filePath); ArcGISTiledLayer tpkxLayer = new ArcGISTiledLayer(tpkxCache); tpkxLayer.Id = "some id here"; tpkxLayer.Name = "Some name here"; await tpkxLayer.LoadAsync(); I have followed: Release notes for 100.5.0—ArcGIS Runtime SDK for .NET | ArcGIS for Developers The new Compact Cache V2 format of tile packages ( *.tpkx file) available with ArcGIS Pro 2.3 is now supported in the ArcGIS Runtime. This format is based on an open specification and is optimized for fast access and improved performance. You can use the existing ArcGISTiledLayer and TileCache APIs to support the new format. See Take a layer offline for more information on tile packages. But it always throws an error "File not found" on the last line. Could someone please help what I am doing wrong here?
... View more