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