Interface IMultilevelTiledAttributionProvider


public interface IMultilevelTiledAttributionProvider
This interface provides methods to retrieve the attributions for a given multilevel tiled raster layer.
Since:
2024.0
  • Method Details

    • getAttribution

      @NotNull DataAttribution getAttribution(@NotNull List<@NotNull MultilevelTileInfo> tiles, @NotNull 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:
      tiles - the tiles that are currently drawn.
      cancellationToken - a cancellation token.
      Returns:
      The attribution.