Interface ILcdWMTSGXYLayerFactory


public interface ILcdWMTSGXYLayerFactory
Creates GXY layers for data requested through a WMTS service. This interface identifies two use cases for the layer creation:

You can implement this interface to customize the rendering of data requested through a WMTS service. Implementations can be registered with the service loader using the @LcdService annotation.

Since:
2022.1
  • Method Details

    • createGXYLayer

      ILcdGXYLayer createGXYLayer(ILcdModel aModel, TLcdWMTSLayer aWMTSLayer, String aStyleId, TLcdWMTSRequestContext aRequestContext) throws IOException
      This method creates an ILcdGXYLayer for the given WMTS layer and style identifier.
      Parameters:
      aModel - the model to be wrapped into a ILcdGXYLayer.
      aWMTSLayer - the WMTS layer for which this is done.
      aStyleId - the id of the style to be used. The value may be null.
      aRequestContext - the request context associated with this operation.
      Returns:
      an ILcdGXYLayer for the given WMTS layer or null if no layer can be created.
      Throws:
      IOException
    • createGXYLayer

      ILcdGXYLayer createGXYLayer(ILcdModel aModel, TLcdWMTSLayer aWMTSLayer, TLcdSLDFeatureTypeStyle[] aFeatureTypeStyles, TLcdWMTSRequestContext aRequestContext) throws IOException
      This method creates an ILcdGXYLayer for the given WMTS layer and SLD feature type styles.
      Parameters:
      aModel - the model to be wrapped into a ILcdGXYLayer.
      aWMTSLayer - the WMTS layer for which this is done.
      aFeatureTypeStyles - the SLD feature type style(s) to be used.
      aRequestContext - the request context associated with this operation.
      Returns:
      an ILcdGXYLayer for the given WMTS layer or null if no layer can be created.
      Throws:
      IOException