|
LuciadCPillar 2026.1.02
|
A WmsRasterLayer on top of a RasterLayer, offering the possibility to obtain the context necessary for a 'GetFeatureInfo' query. More...
#include <luciad/formats/wms/layers/WmsRasterLayer.h>
Classes | |
| class | WmsBuilder |
| Builder for creating a luciad::WmsRasterLayer for a luciad::IWmsModel. More... | |
Public Member Functions | |
| WmsBuilder | asWmsBuilder () const |
| Returns a new builder based on this layer instance. | |
| std::optional< WmsGetFeatureInfoContext > | getFeatureInfoContext (const Point &point) const |
| Returns the context that is needed to perform a GetFeatureInfo request. | |
| const std::shared_ptr< IWmsModel > & | getWmsModel () const |
| Returns the layer's model, which provides the raster to be presented. | |
| Public Member Functions inherited from luciad::RasterLayer | |
| ~RasterLayer () override | |
| void | addObserver (std::shared_ptr< ILayerObserver > layerObserver) override |
| Adds an observer that allows to receive change events from this layer. | |
| Builder | asBuilder () const |
| Returns a new builder based on this layer instance. | |
| const std::optional< ComplexStrokeLineStyle > & | getComplexStrokeLineStyle () const |
| Returns the complex stroke line style used for painting this layer. | |
| const std::optional< FillStyle > & | getFillStyle () const |
| Returns the fill style used for painting this layer. | |
| RasterLayerType | getLayerType () const |
Returns the type of this raster layer. | |
| const std::optional< LineStyle > & | getLineStyle () const |
| Returns the line style used for painting this layer. | |
| const std::shared_ptr< IRasterModel > & | getModel () const |
| Returns the layer's model, which provides the raster to be presented. | |
| const RasterStyle & | getRasterStyle () const |
| Returns the raster style used for painting this layer. | |
| const std::string & | getTitle () const override |
| Returns the layer's title. | |
| bool | isBusy () const override |
| Returns whether this layer is busy loading data, rendering, loading attributions, or anything else. | |
| bool | isVisible () const override |
| Returns whether this layer is visible. | |
| void | removeObserver (const std::shared_ptr< ILayerObserver > &layerObserver) override |
| Removes the given observer. | |
| void | setComplexStrokeLineStyle (std::optional< ComplexStrokeLineStyle > complexStrokeLineStyle) |
| Sets the complex stroke line style used for painting this layer. | |
| void | setFillStyle (std::optional< FillStyle > fillStyle) |
| Sets the fill style used for painting this layer. | |
| void | setLineStyle (std::optional< LineStyle > lineStyle) |
| Sets the line style used for painting this layer. | |
| void | setRasterStyle (RasterStyle rasterStyle) |
| Sets the raster style used for painting this layer. | |
| void | setTitle (std::string title) override |
| Sets the layer's title. | |
| void | setVisible (bool visible) override |
| Sets whether this layer is visible. | |
| Public Member Functions inherited from luciad::Layer | |
| Layer () | |
| Default constructor. | |
| virtual | ~Layer ()=default |
| virtual LayerId | getId () const |
| Returns the layer's unique id. | |
Static Public Member Functions | |
| static WmsBuilder | newWmsBuilder () |
| Returns a new builder for creating a WmsRasterLayer. | |
| Static Public Member Functions inherited from luciad::RasterLayer | |
| static Builder | newBuilder () |
| Returns a new builder for creating a RasterLayer. | |
| static const std::string & | propertyComplexStrokeLineStyle () |
| Property name for the LayerEvent that is fired as a result of changing the layer's complex stroke line style. | |
| static const std::string & | propertyFillStyle () |
| Property name for the LayerEvent that is fired as a result of changing the layer's fill style. | |
| static const std::string & | propertyLineStyle () |
| Property name for the LayerEvent that is fired as a result of changing the layer's line style. | |
| static const std::string & | propertyRasterStyle () |
| Property name for the LayerEvent that is fired as a result of changing the layer's raster style. | |
| Static Public Member Functions inherited from luciad::Layer | |
| static const std::string & | propertyBusy () |
| Property name for the LayerEvent that is fired as a result of the layer's busy flag changing. | |
| static const std::string & | propertyTitle () |
| Property name for the LayerEvent that is fired as a result of changing the layer's title. | |
| static const std::string & | propertyVisible () |
| Property name for the LayerEvent that is fired as a result of changing the layer's visible flag. | |
A WmsRasterLayer 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.
| WmsBuilder luciad::WmsRasterLayer::asWmsBuilder | ( | ) | const |
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.
| std::optional< WmsGetFeatureInfoContext > luciad::WmsRasterLayer::getFeatureInfoContext | ( | const Point & | point | ) | const |
Returns the context that is needed to perform a GetFeatureInfo request.
| point | a point on the map |
| const std::shared_ptr< IWmsModel > & luciad::WmsRasterLayer::getWmsModel | ( | ) | const |
Returns the layer's model, which provides the raster to be presented.
|
static |
Returns a new builder for creating a WmsRasterLayer.