---
metadata:
  - name: generator
    content: Diplodoc Platform v5.39.1
alternate:
  - https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/ref/reference/geometry.base.LineString.toEncodedCoordinates.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/llms.txt

# geometry.base.LineString.toEncodedCoordinates

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

**Returns** строку закодированных в Base64 координат для заданного объекта геометрии.

```javascript
{ String } geometry.base.LineString.toEncodedCoordinates(geometry)
```

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

#|
|| **Параметр** | **Значение по умолчанию** | **Описание** ||
|| `geometry`[*](*parametr) | — | Тип: [geometry.base.LineString](https://yandex.ru/dev/maps/archive/doc/jsapi/2-0/ru/ref/reference/geometry.base.LineString.md)

Геометрия. ||
|#

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

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