Property NoDataTileBehavior
NoDataTileBehavior
Gets or sets the NoDataTileBehavior for the ImageTiledLayer. The value controls how a tile returning 'NoData' will be resampled.
Declaration
public NoDataTileBehavior NoDataTileBehavior { get; set; }
Property Value
Type | Description |
---|---|
NoDataTileBehavior | The NoDataTileBehavior for the ImageTiledLayer. The value controls how a tile returning 'NoData' will be resampled. |
Remarks
Zooming in can result in tile requests with no tiles at the requested level of detail. In this case, there are options that control what to display where the tile should be including:
- UpSample - Upsample the pixels from a lower level of detail tile. This can result in pixelation or blurriness. This is the default behavior for operational layers.
- Blank - The 'NoData' pixels will show the raster picture as being blank (or disappearing). This is the default behavior for basemap reference layers.
- Show - This will show the raster picture with the text 'No Data' stamped over it once you pass the lowest level-of-detail scale.
NOTE. Sometimes, to see the effect on the map when setting the NoDataTileBehavior
property, the MaxScale value must also be explicitly set. The
MaxScale property may need to be smaller than the level-of-detail
setting that was used to create the tiled images in ArcGIS Pro or ArcGIS Desktop.
For example, consider an operational image tile layer showing forest cover that was created
with the level-of-detail assumption that it was to be viewed above a scale of
5000 (meaning you will not see 'NoData' until you zoom closer to the Earth than
a 5000 scale). However, you want to be able to zoom in closer to the Earth surface, say
down to 3000 or 300. By setting the MaxScale property to a number
smaller than 5000, you will be able to zoom in closer to the Earth and
see the effects of changing the NoDataTileBehavior
enumerations.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |