Interface TileProvider

All Known Implementing Classes:
OSMTileProvider

public interface TileProvider
Interface intended to provide reusable settings for a tile layer.

Implement this interface to create reusable settings for a tile layer, which can be used in different screen's xml-descriptors. Implementation of the interface should be declared as a Spring bean with specified bean's name. Thus, the bean can be used in xml-descriptors when describing a tile layer, like this:

<maps:tile id="tiles" tileProvider="map_OpenStreetMap"/>

For example, see OSMTileProvider.

  • Method Details

    • getUrlPattern

      String getUrlPattern()
      Returns URL pattern of a tile server.
    • getAttributionString

      String getAttributionString()
      Returns attribution string.