27 #include "../srs/Config.h"
84 m_extent.transform(m_srid, srid);
88 if(m_extent.isValid())
89 setExtent(m_extent, doRefresh);
virtual ~MapDisplay()
Virtual destructor.
virtual te::map::AlignType getVAlign() const
It returns the MapDisplay current vertical align.
virtual void setExtent(te::gm::Envelope &e, bool doRefresh=true)
It sets the world visible area and refreshes the contents in the map display.
The map display controls how a set of layers are displayed.
AlignType
This enum contains values to control the alignment of components (like Canvas and MapDisplay)...
#define TE_UNKNOWN_SRS
A numeric value to represent a unknown SRS identification in TerraLib.
virtual void setLayerList(const std::list< te::map::AbstractLayerPtr > &layers)
It sets the layer list to be showed in the Map Display.
virtual te::map::AlignType getHAlign() const
It returns the MapDisplay current horizontal align.
virtual int getSRID() const
It return the Spatial Reference System used by the Map Display.
It defines the concept of a map display responsible for controlling how a set of layers are displayed...
virtual void setSRID(const int &srid, bool doRefresh=true)
It sets a new Spatial Reference System to be used by the Map Display.
MapDisplay()
It initializes a new MapDisplay.
virtual const te::gm::Envelope & getExtent() const
It returns the world extent showned by the MapDisplay.
An Envelope defines a 2D rectangular region.
virtual void setAlign(te::map::AlignType h, te::map::AlignType v)
It will set the align rendering of objects into the map display. Just successive drawings will be aff...