• JMap.Map.Basemap.getActiveId

    Returns the active basemap id, undefined is no basemap is activated.

    Returns string | undefined

    Example

    // returns the active basemap id, undefined is no basemap is activated
    JMap.Map.Basemap.getActiveId()