Property 'startDrawing' does not exist on type 'IGeometryEditor'.
Closed this issue · 1 comments
ddubrava commented
🐞 Bug Report
✍️ Description
Property 'startDrawing' does not exist on type 'IGeometryEditor'
🔬 Reproduction
https://stackblitz.com/edit/polygon-editor
🌎 Environment
"angular8-yandex-maps": "^12.2.0",
ddubrava commented
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.