ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IMapFactory Interface / CreateLocalBasemap Method
The name of the base map

In This Topic
    CreateLocalBasemap Method (IMapFactory)
    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
    Map CreateLocalBasemap( 
       string name
    )
    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

    ArcGIS Pro version: 3.0 or higher.
    See Also