ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapFactory Class / CreateLocalBasemap Method
The name of the base map

In This Topic
    CreateLocalBasemap Method (MapFactory)
    In This Topic
    Creates a local basemap of MapType.Basemap ArcGIS.Core.CIM.MapType. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public Map CreateLocalBasemap( 
       string name
    )
    Public Function CreateLocalBasemap( _
       ByVal name As String _
    ) As Map

    Parameters

    name
    The name of the base map

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also