Interface Source.HasWrapX

All Known Subinterfaces:
Source.HasSourceOptions
All Known Implementing Classes:
AbstractDataVectorSource, ClusterSource, DataVectorSource, HeatmapDataVectorSource, NoOpClusterSource, NoOpOsmSource, NoOpTileWmsSource, NoOpVectorSource, NoOpXyzSource, OsmSource, TileWmsSource, VectorSource, XyzSource
Enclosing class:
Source

public static interface Source.HasWrapX
Interface to be implemented by sources that should provide WrapX management.

For more details see: Source docs

  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Sets whether the source should be looped along the X coordinate.
  • Method Details

    • getWrapX

      Boolean getWrapX()
      Returns:
      whether the source should be looped along the X coordinate or null if not set
    • setWrapX

      void setWrapX(Boolean wrapX)
      Sets whether the source should be looped along the X coordinate. The default value for Source is false.

      Note, wrapX attribute is set only at creation time and cannot be changed at runtime. For more details see: Source docs

      Parameters:
      wrapX - whether the source should be looped along the X coordinate