---
metadata:
  - name: generator
    content: Diplodoc Platform v5.39.1
alternate:
  - https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/ICopyrightsProvider.md
  - https://yandex.com/dev/jsapi-v2-1/doc/ru/v2-1/ref/reference/ICopyrightsProvider.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/jsapi-v2-1/doc/en/llms.txt

# ICopyrightsProvider

Extends [IEventEmitter](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEventEmitter.md).

Copyright information provider.

[Constructor](#constructor-summary) | [Fields](#properties-summary) | [Events](#events-summary) | [Methods](#methods-summary)

## Constructor {#constructor-summary}

```javascript
ICopyrightsProvider()
```

## Fields {#properties-summary}

#|
|| **Name** | **Type** | **Description** ||
|| [events](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEventEmitter.md#events) | [IEventManager](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEventManager.md) | Event manager.

Inherited from [IEventEmitter](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/IEventEmitter.md#events). ||
|#

## Events {#events-summary}

#|
|| **Name** | **Description** ||
|| [copyrightschange](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/ICopyrightsProvider.md#event-copyrightschange) | Event for changes to copyright information. ||
|#

## Methods {#methods-summary}

#|
|| **Name** | **Returns** | **Description** ||
|| [getCopyrights](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/ICopyrightsProvider.md#getCopyrights)([coords](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/ICopyrightsProvider.md#getCopyrights-param-coords), [zoom](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/ICopyrightsProvider.md#getCopyrights-param-zoom)) | [vow.Promise](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/vow.Promise.md) | Requests information about copyrights at the specified point with the specified zoom. ||
|| [remove](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/ICopyrightsProvider.md#remove)() | | Removes copyright information that was added via this object. ||
|| [setCopyrights](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/ICopyrightsProvider.md#setCopyrights)([copyrights](https://yandex.com/dev/jsapi-v2-1/doc/en/v2-1/ref/reference/ICopyrightsProvider.md#setCopyrights-param-copyrights)) | | Sets a new value for the copyright information that was added via this object. ||
|#

## Events details {#event_detail}

### copyrightschange {#copyrightschange}

Event for changes to copyright information.

## Methods details {#method_detail}

### getCopyrights {#getCopyrights}

```javascript
{vow.Promise} getCopyrights(coords, zoom)
```

Requests information about copyrights at the specified point with the specified zoom.

**Returns** Promise that will be resolved and will pass as a result an array of strings or DOM elements with information about copyrights.

**Parameters:**

#|
|| **Parameter** | **Default value** | **Description**  ||
|| [`coords`](#getCopyrights-param-coords)[*](*star) | — | Type: Number[]

The point on the map that copyright information is being requested for. ||
|| [`zoom`](#getCopyrights-param-zoom)[*](*star) | — | Type: Number

The zoom level that copyright information is being requested for. ||
|#

\* Mandatory parameter/option.

### remove {#remove}

```javascript
{} remove()
```

Removes copyright information that was added via this object.

### setCopyrights {#setCopyrights}

```javascript
{} setCopyrights(copyrights)
```

Sets a new value for the copyright information that was added via this object.

**Parameters:**

#|
|| **Parameter** | **Default value** | **Description**  ||
|| [`copyrights`](#setCopyrights-param-copyrights)[*](*star) | — | Type: String\|HTMLElement\|String[]\|HTMLElement[]

Copyright information. ||
|#

\* Mandatory parameter/option.

[*star]: Mandatory parameter/option.