This document is archived and information here might be outdated. Recommended version. |
Adds a layer to the current focus map.
[Visual Basic .NET] Public Sub AddLayer ( _ ByVal layer As ILayer _ )
[C#] public void AddLayer ( ILayer layer );
This method is a shortcut to the AddLayer method on the IScene (IScene::AddLayer).
Note: Using IGMxDocument::AddLayer, the layer is added as draped on the globe surface, by default.