I am trying to run a code using below two sample examples but with our Enterprise GIS 10.9 installation. The map I am trying do have layers that are marked for cache and I could also see Export Map function available for this service.
I am getting below errors,
1. Layer type is not supported for taking offline.
2. VectorTile_xxxx: Token Required.
Sample code: arcgis-maps-sdk-dotnet-samples/src/MAUI/Maui.Samples/Samples/Map/GenerateOfflineMapWithOverrides at ...
I can load the map and layer when online but the offline mode is throwing up error. I am using ExportVectorTilesParameters because that is what I am getting back from the basemap.
var basemapKey = new OfflineMapParametersKey(_map.Basemap.BaseLayers.First());