Interface UrlTileSource.HasUrls

All Known Subinterfaces:
UrlTileSource.HasUrlTileSourceOptions
All Known Implementing Classes:
NoOpTileWmsSource, NoOpXyzSource, TileWmsSource, XyzSource
Enclosing class:
UrlTileSource

public static interface UrlTileSource.HasUrls
Interface to be implemented by sources that should provide URLs management.

For more details see: UrlTile docs

  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Sets a list of URL templates.
  • Method Details

    • getUrls

      List<String> getUrls()
      Returns:
      list of URL patterns or null if not set
    • setUrls

      void setUrls(List<String> urls)
      Sets a list of URL templates. URL template must include {x}, {y} or {-y}, and {z} placeholders. A {?-?} template pattern, for example subdomain{a-f}.domain.com, may be used instead of defining each one separately in the urls option.

      For more details see: setUrls docs

      Parameters:
      urls - url patterns to set