public interface TileProvider
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
.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributionString()
Returns attribution string.
|
java.lang.String |
getUrlPattern()
Returns URL pattern of a tile server.
|