Interface HasCrossOrigin

All Known Subinterfaces:
AbstractImageStaticSource.HasImageStaticSourceOptions, AbstractImageWmsSource.HasImageWmsSourceOptions
All Known Implementing Classes:
ImageStaticSource, ImageWmsSource, NoOpImageStaticSource, NoOpImageWmsSource, NoOpOsmSource, NoOpTileWmsSource, NoOpXyzSource, OsmSource, TileWmsSource, XyzSource

public interface HasCrossOrigin
Interface to be implemented by source that can load images by request.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setCrossOrigin(String crossOrigin)
    Sets the cross-origin attribute for loaded images.
  • Method Details

    • getCrossOrigin

      String getCrossOrigin()
      Returns:
      cross-origin or null if not set
    • setCrossOrigin

      void setCrossOrigin(String crossOrigin)
      Sets the cross-origin attribute for loaded images.
      Parameters:
      crossOrigin - cross-origin to set