Interface AbstractXyzSource.HasTileSize

All Known Subinterfaces:
AbstractXyzSource.HasXyzSourceOptions
All Known Implementing Classes:
NoOpXyzSource, XyzSource
Enclosing class:
AbstractXyzSource

public static interface AbstractXyzSource.HasTileSize
Interface to be implemented by sources that should provide tileSize management.

For more details see: XYZ docs

  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setTileSize(Size tileSize)
    Sets the tile size used by the tile service.
  • Method Details

    • getTileSize

      Size getTileSize()
      Returns:
      the tile size or null if not set
    • setTileSize

      void setTileSize(Size tileSize)
      Sets the tile size used by the tile service. The default value is 256x256.

      Note, tileSize attribute is set only at creation time and cannot be changed at runtime.

      For more details see: XYZ docs

      Parameters:
      tileSize - tile size to set