Class TLcdWMTSLegendURLParameters

java.lang.Object
com.luciad.wmts.server.TLcdWMTSLegendURLParameters

public final class TLcdWMTSLegendURLParameters extends Object
The href, width and height of a LegendURL, as proposed to or returned by an ILcdWMTSGetLegendGraphicRequestEncoder.
Since:
2026.0.15
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    TLcdWMTSLegendURLParameters(String aHref, long aWidth, long aHeight)
    Creates a new TLcdWMTSLegendURLParameters with the given parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the height, in pixels, of the legend image the href points to.
    Returns the href pointing to the legend image (required to be not null).
    long
    Returns the width, in pixels, of the legend image the href points to.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TLcdWMTSLegendURLParameters

      public TLcdWMTSLegendURLParameters(String aHref, long aWidth, long aHeight)
      Creates a new TLcdWMTSLegendURLParameters with the given parameters.
      Parameters:
      aHref - the href pointing to the legend image. Must not be null.
      aWidth - the width, in pixels, of the legend image the href points to.
      aHeight - the height, in pixels, of the legend image the href points to.
  • Method Details

    • getHref

      public String getHref()
      Returns the href pointing to the legend image (required to be not null).
      Returns:
      the href pointing to the legend image (required to be not null).
    • getWidth

      public long getWidth()
      Returns the width, in pixels, of the legend image the href points to. This is the width advertised in the width attribute of the LegendURL element.
      Returns:
      the width, in pixels, of the legend image the href points to.
    • getHeight

      public long getHeight()
      Returns the height, in pixels, of the legend image the href points to. This is the height advertised in the height attribute of the LegendURL element.
      Returns:
      the height, in pixels, of the legend image the href points to.