ddubrava/angular-yandex-maps

Property 'startDrawing' does not exist on type 'IGeometryEditor'.

Closed this issue · 1 comments

🐞 Bug Report

✍️ Description

Property 'startDrawing' does not exist on type 'IGeometryEditor'

🔬 Reproduction

https://stackblitz.com/edit/polygon-editor

image

🌎 Environment

"angular8-yandex-maps": "^12.2.0",

It's a documentation bug, startDrawing doesn't exist in the IGeometryEditor.
https://yandex.com/dev/maps/jsapi/doc/2.1/ref/reference/IGeometryEditor.html.
Use casting.

Снимок экрана 2021-10-28 в 16 35 52