![]() |
LuciadCPillar C# 2024.0.02
|
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... | |
This interface provides methods to retrieve the attributions for a given multilevel tiled raster layer.
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.
tiles | the tiles that are currently drawn. |
cancellationToken | a cancellation token. |