public class LogicaLayer
extends com.supermap.data.InternalHandleDisposable
构造器和说明 |
---|
LogicaLayer()
构造函数
|
LogicaLayer(long handle) |
限定符和类型 | 方法和说明 |
---|---|
void |
addGroup(String strGroupName,
boolean isLogicalGroup)
添加一个新的子图层组
|
LogicaLayer |
addLayer(Layer player)
添加逻辑图层
|
void |
cancelGroup(LogicaLayer logicaLayer)
取消指定名字的分组
|
void |
dispose()
释放对象
|
LogicaLayer |
findLayer(String strName)
根据图层名称查找图层
|
String |
getCaption()
获取别名
|
LogicaLayer[] |
getChildlayers()
获取本图层的子组
|
String |
getLayerName()
获取图层名称
|
String |
getName()
获取名称
|
LogicaLayer |
getParantLayer()
获取父节点,如果为NULL,表示是根节点
|
LayerType |
getType()
获取逻辑图层类型
|
void |
initAferMapOpen(Map pMap,
String strBaseMapName)
初始化逻辑图层
|
void |
insertLayer(LogicaLayer logicaLayer,
int index)
插入逻辑图层。
|
boolean |
isVisible()
获取图层可见属性
|
void |
removeLayer(LogicaLayer logicaLayer)
删除逻辑图层或组
|
void |
saveAfterMapSave()
地图保存后调用这个函数保存对应配置到内存,便于下一步工作空间保存时保存
|
void |
saveAfterWorkspaceSave()
工作空间保存后调用这个函数保存配置到磁盘
|
void |
saveToXML(String strPath)
保存逻辑图层
|
void |
setCaption(String strCaption)
设置别名
|
void |
setVisible(boolean isVisible)
设置图层可见
|
public void dispose()
public void initAferMapOpen(Map pMap, String strBaseMapName)
pMap
- 地图strBaseMapName
- 底图名称public void saveAfterMapSave()
public void saveAfterWorkspaceSave()
public void addGroup(String strGroupName, boolean isLogicalGroup)
strGroupName
- 图层组名称isLogicalGroup
- 是否是逻辑图层public void cancelGroup(LogicaLayer logicaLayer)
logicaLayer
- 逻辑图层public void removeLayer(LogicaLayer logicaLayer)
logicaLayer
- 逻辑图层public LogicaLayer findLayer(String strName)
strName
- 图层名public LogicaLayer getParantLayer()
public LogicaLayer[] getChildlayers()
public void insertLayer(LogicaLayer logicaLayer, int index)
public void setCaption(String strCaption)
public String getCaption()
public String getName()
public void setVisible(boolean isVisible)
public boolean isVisible()
public String getLayerName()
public LogicaLayer addLayer(Layer player)
public void saveToXML(String strPath)
public LayerType getType()
Copyright © 2021–2024 SuperMap. All rights reserved.