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 TypeMethodDescriptionvoidsetCrossOrigin(String crossOrigin) Sets the cross-origin attribute for loaded images.
-
Method Details
-
getCrossOrigin
String getCrossOrigin()- Returns:
- cross-origin or
nullif not set
-
setCrossOrigin
Sets the cross-origin attribute for loaded images.- Parameters:
crossOrigin- cross-origin to set
-