23 #include "wxgis/carto/carto.h"
24 #include "wxgis/carto/layer.h"
37 virtual void SetName(
const wxString &sName) {m_sMapName = sName;};
38 virtual wxString GetName(
void)
const {
return m_sMapName;};
40 virtual void ChangeLayerOrder(
size_t nOldIndex,
size_t nNewIndex);
41 virtual void Clear(
void);
42 virtual size_t GetLayerCount(
void)
const {
return m_paLayers.size();};
43 virtual wxGISLayer*
const GetLayerByIndex(
size_t nIndex);
44 virtual wxGISLayer*
const GetLayerById(
short nId);
45 virtual wxString GetDescription(
void)
const {
return m_sDescription; };
46 virtual void SetDescription(
const wxString &sDescription){m_sDescription = sDescription;};
47 virtual OGREnvelope GetFullExtent(
void)
const;
50 virtual bool HasLayerType(wxGISEnumDatasetType eType)
const;
52 wxString m_sMapName, m_sDescription;
53 wxVector<wxGISLayer*> m_paLayers;
56 OGREnvelope m_FullExtent;
57 bool m_bFullExtIsInit;
59 wxCriticalSection m_CritSect;
74 virtual bool CanRedo(
void);
75 virtual bool CanUndo(
void);
76 virtual void Redo(
void);
77 virtual void Undo(
void);
78 virtual void Clear(
void);
79 virtual size_t GetSize(
void)
const;
80 virtual void Do(
const OGREnvelope &Env);
81 virtual OGREnvelope GetCurrentExtent(
void)
const;
82 virtual void SetExtent(
const OGREnvelope &Env);
84 wxVector<OGREnvelope> m_staEnvelope;
86 OGREnvelope m_CurrentExtent;
Definition: gisdisplay.h:43