26#ifndef __TERRALIB_MAPTOOLS_INTERNAL_MAPDISPLAY_H 
   27#define __TERRALIB_MAPTOOLS_INTERNAL_MAPDISPLAY_H 
   57        virtual void setLayerList(
const std::list<te::map::AbstractLayerPtr>& layers);
 
   71        virtual void setSRID(
const int& srid, 
bool doRefresh = 
true);
 
It defines the concept of a map display responsible for controlling how a set of layers are displayed...
 
An Envelope defines a 2D rectangular region.
 
It defines the concept of a map display responsible for controlling how a set of layers are displayed...
 
This class controls how a set of layers are displayed.
 
te::map::AlignType m_vAlign
The display vertical align.
 
virtual std::list< AbstractLayerPtr > getLayerList() const
 
virtual void setLayerList(const std::list< te::map::AbstractLayerPtr > &layers)
It sets the layer list to be showed in the Map Display.
 
virtual int getSRID() const
It return the Spatial Reference System used by the Map Display.
 
int m_srid
The display SRS.
 
te::map::AlignType m_hAlign
The display 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.
 
te::gm::Envelope m_extent
The display extent.
 
virtual ~MapDisplay()
Virtual destructor.
 
virtual void setSRID(const int &srid, bool doRefresh=true)
It sets a new Spatial Reference System to be used by the Map Display.
 
virtual te::map::AlignType getVAlign() const
It returns the MapDisplay current vertical align.
 
std::list< te::map::AbstractLayerPtr > m_layerList
The layer list to be displayed.
 
MapDisplay()
It initializes a new 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 const te::gm::Envelope & getExtent() const
It returns the world extent showned by the MapDisplay.
 
virtual te::map::AlignType getHAlign() const
It returns the MapDisplay current horizontal align.
 
AlignType
This enum contains values to control the alignment of components (like Canvas and MapDisplay).