Class TileWMSSource

  • All Implemented Interfaces:
    Serializable

    public class TileWMSSource
    extends TileImageSource
    Source for loading tile data from WMS (Web Map Service) servers

    See https://www.ogc.org/standards/wms

    See Also:
    Serialized Form
    • Method Detail

      • getGutter

        public int getGutter()
        Size of the gutter around image tiles to ignore, in pixels. The default value is 0, which means no gutter will be used. By setting this to a non-zero value, the map will request images that are wider / taller than the tile size by a value of 2 x gutter, but will ignore the gutter when drawing a tile. Using a gutter allows ignoring artifacts at the edges of tiles.

        This value can not be changed after constructing an instance, it can only be set initially by passing an options object to the constructor.

        Returns:
        the current gutter value, in pixels
      • getParams

        public Map<String,​Object> getParams()
        The WMS request parameters for requesting images from the WMS server. At least the LAYERS parameter is required. By default, VERSION is 1.3.0, and STYLES is "". WIDTH, HEIGHT, BBOX, and CRS / SRS will be set dynamically.

        For individual parameters please refer to the documentation of the WMS server as well as the WMS specification.

        This value can not be changed after constructing an instance, it can only be set initially by passing an options object to the constructor.

        Returns:
        the WMS parameters
      • getServerType

        public String getServerType()
        The type of WMS server.

        This value can not be changed after constructing an instance, it can only be set initially by passing an options object to the constructor.

        Returns:
        the type of WMS server