LuciadCPillar C# 2024.0.02
Luciad.Models.Rasters.IMultilevelTiledAttributionProvider Interface Reference

This interface provides methods to retrieve the attributions for a given multilevel tiled raster layer. More...

Public Member Functions

Luciad.Models.DataAttribution GetAttribution (System.Collections.Generic.IList< Luciad.Models.Rasters.MultilevelTileInfo > tiles, Luciad.Concurrent.CancellationToken cancellationToken)
 Get the current attribution. More...
 

Detailed Description

This interface provides methods to retrieve the attributions for a given multilevel tiled raster layer.

Since
2024.0

Member Function Documentation

◆ GetAttribution()

Luciad.Models.DataAttribution Luciad.Models.Rasters.IMultilevelTiledAttributionProvider.GetAttribution ( System.Collections.Generic.IList< Luciad.Models.Rasters.MultilevelTileInfo tiles,
Luciad.Concurrent.CancellationToken  cancellationToken 
)

Get the current attribution.

If the given cancellation token is cancelled, the returned attribution will be ignored. For slow implementations, it is recommended to poll the cancellationToken and return as soon as possible if it is cancelled. For convenience, you may use DataAttribution.Empty to return an empty attribution.

This method must be thread-safe, as it can be called from any thread.

Parameters
tilesthe tiles that are currently drawn.
cancellationTokena cancellation token.
Returns
The attribution.