📄 maplayers.h
字号:
/************************************************************
文件名: MapLayers.h
作者: 钱军洪 Version : 1.0 Date: 2002/12/21
类描述: 地图图层数据集合管理
邮件地址:Visual20@sohu.com
***********************************************************/
#ifndef _MAP_LAYERS_H_
#define _MAP_LAYERS_H_
#include "MapLayer.h"
class CMapLayers {
public:
CMapLayers();
~CMapLayers();
// Attributes
public:
short GetCount();
void SetCount(short);
void GetAllExtent(CMapRectangle& rc);
// Operations
public:
CMapLayer* GetAt(short sIndex);
BOOL Add(CMapLayer* pMapLayer);
void Remove(short sIndex);
void Clear();
void MoveTo(short fromIndex, short toIndex);
void MoveToTop(short sIndex);
void MoveToBottom(short sIndex);
private:
CArray<CMapLayer*,CMapLayer*> m_Layers; //存储图层集合对象
};
#endif //_MAP_LAYERS_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -