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

# geometry.base.Polygon.fromEncodedCoordinates

Статическая функция.

Создает геометрию [geometry.base.Polygon](https://yandex.ru/dev/jsapi-v2-1/doc/ru/v2-1/ref/reference/geometry.base.Polygon.md) на основе строки закодированных в Base64 координат.

**Возвращает** геометрию.

```javascript
{ geometry.base.Polygon } geometry.base.Polygon.fromEncodedCoordinates(encodedCoordinates)
```

**Параметры:**

#|
|| **Параметр** | **Значение по умолчанию** | **Описание**  ||
|| [`encodedCoordinates`](#param-encodedCoordinates)[*](*star) | — | Тип: String

Закодированные в Base64 координаты вершин многоугольника. ||
|#

\* Обязательный параметр/опция.

<!-- XLIFF_FARM_M2ZjOGEw_CACHING -->

[*star]: Обязательный параметр.
