Nagma, Thanks your reply on GeoNet
I wanted to double check I have this right, because I cannot seem to get
the behavior to change.
Below is the code I am using:
ArcGISTiledLayer localTiledLayer = new
ArcGISTiledLayer(new Uri(file.Path)) { Id = LOCAL_LAYER_ID };
localTiledLayer.NoDataTileBehavior =
NoDataTileBehavior.UpSample;
localTiledLayer.Name = "Tile package layer";
localTiledLayer.Id = "TilePackageLayer";
if (localTiledLayer.LoadStatus !=
Esri.ArcGISRuntime.LoadStatus.Loaded)
await localTiledLayer.LoadAsync();
MyMapView.Map.Basemap.BaseLayers.Add(localTiledLayer);
I have tried all the properties on the NoDataTileBehavior (UpSample, Show,
Blank). None of them have seemed to change the behavior. The tile package
which is saved as a TiledLayer to the base layers disappears when it is too
far zoomed out or too far zoomed in. Also, the Blank property does not seem
to do anything.
Thanks,
Nick.