用于居中显示给定的图层所对应的空间对象。

命名空间:  SuperMap.Mapping
程序集:  SuperMap.Mapping (in SuperMap.Mapping)
版本: dll

语法

C#
public bool EnsureVisible(
	Layer layer
)

参数

layer
Type: SuperMap.Mapping..::.Layer
需要居中显示的图层。

返回值

成功返回true,失败返回false。

请参见