It renders the objects associated to a dataset layer. More...
#include <DataSetLayerRenderer.h>
Public Member Functions | |
DataSetLayerRenderer () | |
void | draw (AbstractLayer *layer, Canvas *canvas, const te::gm::Envelope &bbox, int srid, const double &scale) |
It draws the layer geographic objects in the given canvas using the SRS informed. More... | |
~DataSetLayerRenderer () | |
Destructor. More... | |
Private Member Functions | |
void | drawGrouping (DataSetLayer *layer, te::da::DataSourcePtr ds, Canvas *canvas, const te::gm::Envelope &bbox, int srid) |
It renders the objects associated to a dataset layer.
Definition at line 54 of file DataSetLayerRenderer.h.
te::map::DataSetLayerRenderer::DataSetLayerRenderer | ( | ) |
Constructor
te::map::DataSetLayerRenderer::~DataSetLayerRenderer | ( | ) |
Destructor.
|
virtual |
It draws the layer geographic objects in the given canvas using the SRS informed.
The informed bounding box (bbox) is used to constraint the Layer objects to be drawn. The bbox coordinates must be in the Spatial Reference System given by srid.
layer | The layer that will be drawn. |
canvas | The canvas were the layer objects will be drawn. |
bbox | The interest area to render the map. |
srid | The SRS to be used to draw the layer objects. |
scale | The current scale to draw the layer. |
Implements te::map::AbstractRenderer.
|
private |