Getting vertices coordinates of the polygon

Hi,
I used Polydraw example in my app.
I need to get vertices coordinates of the polygon dynamically drawn.
How can I do that ?

regards

All drawing streams in HoloViews have element and data attributes which will let you access the vertices of your drawn geometries. The stream.element property will let you access the data in various ways described in the “Accessing Data” section of the Geometry Data user guide.

1 Like