Package com.luciad.formats.wmts.layers
Class WmtsRasterLayer
java.lang.Object
com.luciad.layers.Layer
com.luciad.layers.rasters.RasterLayer
com.luciad.formats.wmts.layers.WmtsRasterLayer
- All Implemented Interfaces:
AutoCloseable
A
WmtsRasterLayer on top of a RasterLayer, offering the possibility to obtain the context necessary for a 'GetFeatureInfo' query.
See this related article for more information and code examples.
- Since:
- 2026.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from class com.luciad.layers.rasters.RasterLayer
RasterLayer.Builder -
Field Summary
Fields inherited from class com.luciad.layers.rasters.RasterLayer
PropertyComplexStrokeLineStyle, PropertyFillStyle, PropertyLineStyle, PropertyRasterStyleFields inherited from class com.luciad.layers.Layer
PropertyBusy, PropertyTitle, PropertyVisible -
Method Summary
Modifier and TypeMethodDescriptionReturns a new builder based on this layer instance.voidclose()protected voidfinalize()getFeatureInfoContext(Point point) Returns the context that is needed to perform a GetFeatureInfo request.Returns the layer's model, which provides the raster to be presented.static WmtsRasterLayer.WmtsBuilderReturns a new builder for creating aWmtsRasterLayer.Methods inherited from class com.luciad.layers.rasters.RasterLayer
asBuilder, equals, getComplexStrokeLineStyle, getFillStyle, getLayerType, getLineStyle, getModel, getRasterStyle, hashCode, newBuilder, setComplexStrokeLineStyle, setFillStyle, setLineStyle, setRasterStyleMethods inherited from class com.luciad.layers.Layer
addObserver, getId, getTitle, isBusy, isVisible, removeObserver, setTitle, setVisible
-
Method Details
-
finalize
protected void finalize()- Overrides:
finalizein classRasterLayer
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classRasterLayer
-
newWmtsBuilder
Returns a new builder for creating aWmtsRasterLayer.- Returns:
- a new builder for creating a
WmtsRasterLayer.
-
asWmtsBuilder
Returns a new builder based on this layer instance.You can use this builder, for example, to create a copy of this layer.
Note that observers will not be transferred to a new layer.
- Returns:
- a new builder based on this layer instance.
-
getWmtsModel
Returns the layer's model, which provides the raster to be presented.- Returns:
- the layer's model, which provides the raster to be presented.
-
getFeatureInfoContext
Returns the context that is needed to perform a GetFeatureInfo request.- Parameters:
point- a point on the map.- Returns:
- the context that is needed to perform a GetFeatureInfo request.
-