A Sandcastle Documented Class Library
MapControlInteractiongetLayerByName Method (String, IMapControlDefault) |
根据图层名称获取图层对象
Namespace: AO_J
Assembly: AO_J (in AO_J.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public ILayer getLayerByName( string name, IMapControlDefault mapControl )
Parameters
- name
- Type: SystemString
图层名称 - mapControl
- Type: IMapControlDefault
地图控件对象
Return Value
Type: ILayerILayer图层对象
See Also