Package com.luciad.wmts.server
Class TLcdWMTSLegendURLParameters
java.lang.Object
com.luciad.wmts.server.TLcdWMTSLegendURLParameters
The href, width and height of a
LegendURL, as proposed to or returned by an
ILcdWMTSGetLegendGraphicRequestEncoder.- Since:
- 2026.0.15
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTLcdWMTSLegendURLParameters(String aHref, long aWidth, long aHeight) Creates a newTLcdWMTSLegendURLParameterswith the given parameters. -
Method Summary
-
Constructor Details
-
TLcdWMTSLegendURLParameters
Creates a newTLcdWMTSLegendURLParameterswith the given parameters.- Parameters:
aHref- the href pointing to the legend image. Must not benull.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
Returns the href pointing to the legend image (required to be notnull).- 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 thewidthattribute of theLegendURLelement.- 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 theheightattribute of theLegendURLelement.- Returns:
- the height, in pixels, of the legend image the href points to.
-