Interface AbstractXyzSource.HasMaxZoom

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

public static interface AbstractXyzSource.HasMaxZoom
Interface to be implemented by sources that should provide max zoom management.

For more details see: XYZ docs

  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Sets max zoom level.
  • Method Details

    • getMaxZoom

      Integer getMaxZoom()
      Returns:
      max zoom level or null if not set
    • setMaxZoom

      void setMaxZoom(Integer maxZoom)
      Sets max zoom level. The default value is 42.

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

      For more details see: XYZ docs

      Parameters:
      maxZoom - zoom to set